Skip to content
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

[question]: Avoid precise location storage #877

Closed
1 task done
hls-app opened this issue Apr 25, 2024 · 1 comment
Closed
1 task done

[question]: Avoid precise location storage #877

hls-app opened this issue Apr 25, 2024 · 1 comment

Comments

@hls-app
Copy link

hls-app commented Apr 25, 2024

How can we help?

Hi,

I am looking at enabling location using OneSignal.Location.setShared(true); but want to share only the coarse/vague location instead of the precise location. Currently, our app needs precise location for app functionality but we don't want the same for marketing/informational push notifications.

Our use cases will be limited to sending push notifications to users in that area and we don't need precise accuracy. While this may seem less harm to store precise location, we found that the location stored is accurate to meters, which we don't take consent of. We have disabled the feature for that reason but would love to enable it if any of the following options are possible:

  1. Onesignal allows an extra flag to force coarse location storage only. Example: OneSignal.Location.set(shared: true, forceCoarseLocation: true);
  2. Allow us to populate the location field through API or SDK

Also, I have a question around how frequent is the location data is updated? Ours is a location based app and people could use it from different locations when travelling but at the same time can opt in to a specific city to receive updates from.

If there is an existing way to tackle this challenge, please let us know.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hls-app
Copy link
Author

hls-app commented Apr 25, 2024

https://documentation.onesignal.com/reference/update-user

Allows updating location via API.

@hls-app hls-app closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant