Preface
After uniapp developed the application, I always forgot about the pitfalls and had to go through detours every time. I hereby record it and continue to update it...
List of listing pits
-
- Preface
-
- 1.targetSdkVersion version problem, some markets require that it cannot be lower than 30
- 2. A description is required when obtaining permissions for cameras and location information in the iOS market
- 3. Some markets need to provide user logout function
- 4. Users must check and agree to the service agreement and privacy policy
- 5. The targeted push function does not provide a closing channel
- 6. Application functions are incomplete
- 7. Huawei App Store needs to simultaneously inform users of the purpose of using permissions
1.targetSdkVersion version problem, some markets require that it cannot be lower than 30
targetSdkVersion is used to specify the target Android version (API level) of the application. The default value is 28 (i.e. Android9.0)
Solution:
2. A description is required when obtaining permissions for cameras and location information in the iOS market
Example:
/* ios打包配置 */
"ios" : {
"dSYMs" : false,
"idfa" : false,
"privacyDescription" : {
"NSLocationWhenInUseUsageDescription" : "APP需要您的同意,我们需要通过您的地理位置信息获取您周边的相关租房信息。",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "APP需要您的同意,我们需要通过您的地理位置信息获取您周边的相关租房信息。"
}
},
3. Some markets need to provide user logout function
Solution: If you don’t have enough time, you can provide a fake logout function. Click to logout. Tip: Your cancellation application has been submitted.
4. Users must check and agree to the service agreement and privacy policy
Error example: Login means you have agreed to the Service Agreement and Privacy Policy
Solution: Add a checkbox
5. The targeted push function does not provide a closing channel
Solution: Add an option to turn off personalized recommendations in settings
6. Application functions are incomplete
Operations such as not yet open, under development, and invalid clicks are not allowed in the application.
Solution: Complete the function
7. Huawei App Store needs to simultaneously inform users of the purpose of using permissions
Another article of mine gives the solution