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]: How to remove a user, or at least remove their location data? #1542

Closed
1 task done
stilllovinnero opened this issue Aug 23, 2023 · 2 comments
Closed
1 task done

Comments

@stilllovinnero
Copy link

stilllovinnero commented Aug 23, 2023

How can we help?

Hey,

we are using OneSignal to track users location and to send push notifications based on their location in our react native app.

As Google Play is soon requiering users to be able to delete the collected user data (https://support.google.com/googleplay/android-developer/answer/13327111?hl=en) we are searching for a way to delete a user entry from OneSignal, but we were not able to find informations about this in the mobile SDK documentation. (https://documentation.onesignal.com/docs/mobile-sdk)

Are we looking at the right place?
Does using OneSignal even fall under this new GooglePlay policy?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hi @stilllovinnero thanks for reaching out!

You can delete users a number of ways, outlined here.

Location information is only collected if the user has granted permission to the App to collect this, and the app chooses to send this data to OneSignal. If you need to remove this data, you can use our Update User API and change the lat and long params.

Let us know if you have any additional questions or concerns!

@stilllovinnero
Copy link
Author

Hey @jennantilla,

thank you for your quick response! We managed to remove a subscription via the API!
It would be nice to have this function in the react Sdk :)

Cheers!

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

2 participants