Something is wrong with my iOS app location ad service

A few days ago, when I downloaded a new version of my app on the App Store using Xcode, I received the following email from iTunes Connect:

Subject : iTunes Connect: your AppName application has one or more problems

Dear Developer,

We have encountered one or more problems with your recent delivery for "AppName".

The following are only your information and are not required Action:

We found that this build requires the use of a standard location when running in the background. Applications that require a service location will now display the following disclaimer in the Store application. "This application may use your location even if it is not open, which may reduce the battery life of the device.

Hello,

App Store Team

And the assembly I downloaded cannot be selected for viewing on the iTunes Connect website.

How do I solve this problem? Thanks.

+5
source share
6 answers
  • Apple recommendations * If your application requires the use of a location even in the background, you should put this text at the bottom of the application description and iTunesConnect application page

" This application can use your location even if it’s not open, which can reduce the battery life of your device.

It is important to leave this expression out, so if a user downloads your application, he should be aware that location services will be active for the application, even if the application is not in use.

You do not need to install one more assembly, just update the description with this refusal and send for verification again. It will be re-reviewed and, if all conditions are valid, it will be approved.

Since Apple services for downloading new applications are inactive from 23rd Dec to 27th Dec due to the annual Christmas holiday, so you should try to submit them for review after that.

Let me know if you have any problems.

+1
source

I ran into this problem for a long time, because if your application still uses the location service in the background, it may be consuming battery.

1) If you want to always use the location service, you must install this, you can pass the itunes check:

you must add NSLocationAlwaysUsageDescription permission in your Info.plist and set the value why you want to always use the location service.

enter image description here

2) If you just need the user to use the application to use the location service. You must NSLocationWhenInUseUsageDescription instead of NSLocationWhenInUseUsageDescription permission, and you must also specify a description of why you want to use this permission.

+1
source

This is actually not a big problem. The Apple reviewer has already said that you "do not require any action", it only offers you a more suitable warning text (appears when you request to use the location service in UIAlertView), as this message "This application may even use your location if it is not open, which may reduce the battery life of the device.

You can add a descriptive line to the .plist file.

0
source

You may have forgotten to add NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription to plist or you may not have added background mode to the project features.

0
source

There is a problem with the displayed string message. I also once stuck on this issue, I used the name of the application, for example, "Burn you phone". Therefore, changing the message line to location authorization will do the trick.

0
source

I had the same issue and contacted iTunes Connect with her. The following are excerpts from their answers:

I understand your concern about continuing to receive notifications with every update or assembly. I can confirm that this works as expected.

...

There are several emails that are generated by iTunes Connect and there is currently no way to disable them. If you provide us with feedback, we will be more than happy to provide it to the appropriate team for future improvements.

...

You can try adding a description of the application and see if this will allow email notifications.

However, we cannot assure you that this will cancel the notification email address.

Just wanted to showcase my stellar customer support and exemplary knowledge of my product ...

However, I have not yet confirmed whether to mark the text in the description field to disable email.

Other answers here mention privacy usage descriptions in Info.plist, but this letter is not directly related to this problem. In any case, if you neglect to enable them, your application will simply crash when you try to access location services (unless permission was granted in the version of your application prior to iOS 10).

0
source

Source: https://habr.com/ru/post/1261936/


All Articles