-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Use of OneSignal SDK without adding Android and iOS Location Permission #803
Comments
@pbisku Hello we are working on fixing this in our Android native SDK and will have it fixed in our next release. Thank you for your patience |
any updates on this? when will the new release roll out? |
Thank you for your patience. The fix is in the latest 5.1.0 Release. If you are still having issues, please tag us here! |
@shepherd-l Hello, we're using release 5.1.0 in out app, and just received a warning from apple on our latest testflight version (after adding oneSignal): Missing purpose string in Info.plist, "Runner.app" bundle should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Is there no way that this also gets fixed on IOS ? Thank you. |
@chedielathmnilatech In the meantime you might need to provide a description indicating that you will never prompt or collect this information. Some users have worked around this by defining the OneSignal submodules instead as described by RMatushkin here: OneSignal/OneSignal-iOS-SDK#368 (comment) |
What happened?
We have an issue with our flutter app which uses the OneSignal Flutter SDK 5.0.4 and the handling of the location permission.
We have built a kids app and using the OneSignal SDK only for push messages.
We don't use any location services in our app but after adding the OneSignal SDK the merged AndroidManifest.xml contains this line (among other added permissions):
Our app is now rejected from Google and Apple, since we have our app targeted for kids and the store guidelines for this group prohibits the tracking of geolocation.
Google for example states now:
Apple informs us about a missing purpose string in Info.plist:
Would it be possible to adapt the Flutter SDK, so we as flutter developer can disable the 'ACCESS_COARSE_LOCATION' permission for Android and the permission for iOS ?
This problem is also noted in these issues:
OneSignal/OneSignal-Android-SDK#1875
OneSignal/OneSignal-Unity-SDK#670
We understand that the product feature "Send push messages depending on location" is to be introduced or distributed at OneSignal, but every customer should be able to use this feature for themselves or not. As we understand it, it is an optional feature - but here it is mandatory for all developers, regardless of whether they want to use the above-mentioned feature or not.
In Europe, this is "critical", as it implicitly allows the person to be tracked, which is a clear problem in connection with the legal regulations (GDPR) - not to mention when it comes to the store requirements for children's apps!
Many thanks,
Peter
Steps to reproduce?
What did you expect to happen?
When adding the SDK and not using any location permissions in Android and iOS, no location permission should be added by the SDK,
OneSignal Flutter SDK version
Release 5.0.4
Which platform(s) are affected?
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: