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

How to correctly dispose of a Device Registration #2501

Open
dylangerdaly opened this issue Aug 19, 2024 · 2 comments
Open

How to correctly dispose of a Device Registration #2501

dylangerdaly opened this issue Aug 19, 2024 · 2 comments
Labels

Comments

@dylangerdaly
Copy link
Contributor

So I accidentally went thru the process of uninstalling microG assuming apps would re-register with a new Device Registration, I was able to recover by restoring an old backup I had of microG's data.

When upgrading devices how should users correctly disable/dispose of their old Device Registrations without having been signed into a Google Account.

I assume if I were to move phones, wipe the old one, Google would still be delivering Push Notifications to apps on a non-existent device.

@ale5000-git
Copy link
Member

If you have root you can run this command:
find /data/data/*/shared_prefs -name 'com.google.android.gms.*.xml' -delete

It will delete the gms data from all apps causing them to re-register (other app data are left intact).

@dylangerdaly
Copy link
Contributor Author

Oooo neat, thank you!

Wish this was a Settings App function.

Is there a way to signal to Google to stop using/invalidate the specific Device ID/Device Registration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants