Apple. App uses location data for advertising

107 views
Skip to first unread message

boldca...@gmail.com

unread,
Mar 29, 2019, 11:24:07 AM3/29/19
to Google Mobile Ads SDK Developers
Hello, I'm using Unity 2018 and Google Mobile Ads Unity Plugin v3.16

In my mediation has a network: Admob, Unity Ads, Applovin.

The other day I decided to make an update for my game and got an answer from Apple: 
"Missing Purpose String in Info.plist File. Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. "

I added information to the plist file: 
<key>NSLocationAlwaysUsageDescription</key>
<string>Application needs access to your location< /string>


Sent the build for review to Apple.
Build was rejected.

Your app uses location data for features or content that is not permitted on the App Store. Specifically, your app uses location data for advertising.
Next Steps
To resolve this issue, please revise your app to remove the features or content that is not permitted on the App Store.


Actually question. How can I disable user location detection in code? What should be disabled?

mobileadssdk...@google.com

unread,
Mar 29, 2019, 4:58:52 PM3/29/19
to boldca...@gmail.com, Google Mobile Ads SDK Developers
Hello there,

Thanks for reaching out to us. The SDK does not need you for to include this permission and according to Apple, it requires you to include NSLocationWhenInUseUsageDescription and you have included NSLocationAlwaysUsageDescription, which is not the same. In any case, this might be related to other third party frameworks that you might have included in your build.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/4d5c890c-0e08-48f6-8c3e-5ead9786daea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages