Hi Martin,
Thank you for the detailed write-up on this. Let me see what I can do to help you.
As per checking, the SDK doesn't require you to include NSLocationWhenInUseUsageDescription to be in the Info.plist. Inline to your questions below and as per documentation, the SDK automatically sends location data only if the user enabled location services for the app and wouldn't require this explicitly.
That said, could you check if there are any other dependencies in your app that are requesting location permission?
Regards,
Mark Albios
Mobile Ads SDK Team
Hi Martin,
Thank you for getting back to me. I will raise this to the rest of the team to get further insights on your concern and get back to you as soon as I receive updates from them.
Regards,
Mark Albios
Mobile Ads SDK Team
Hi Martin,
Hope you are doing great.
Could you provide me with the Google Ads SDK version you're using when you encountered the message?
Thanks,
Mark Albios
Mobile Ads SDK Team
Hi Martin,
Thank you for providing me with the additional details. I'll circle back this to our Engineering team and get back to you for any feedback.
Regards,
Mark Albios
Mobile Ads SDK Team
Hi Martin,
This is Sam from the engineering support team.
The SDK does not directly include or call any location code, it only takes advantage of it if it is already present in the app and checks whether the permission has already been given. The SDK never asks for the permission.
Given that this has always been the case since Apple made this announcement, and the recent change has likely been in place for a couple of months but you are the first person to raise this concern with us, we wonder if there is something else in your app that is causing this issue to be raised. Are you linking any other 3P libraries? Are you also linking Core Location framework or do any of your other dependencies require it? Note the Mobile Ads SDK does not require the core location framework.
Regards
Sam
Hi Vito,
Thanks for reporting, we are taking this issue as something we may need to address, however we need to verify it is a real issue.
Can you please advise perhaps which libraries your app is using and if you have any location related functions in your app also?
Regards
Thanks for that, I see this thread - https://github.com/OneSignal/OneSignal-iOS-SDK/issues/368 suggests that this is an issue with the OneSignal SDK - there are many reports there dating back at least 6 months.
Given that we have had only these two reports of this issue, I suspect that that is the more likely cause of the issue.
Regards
Sam