-
Notifications
You must be signed in to change notification settings - Fork 378
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]: Is it possible to renew the subscription? #1758
Comments
Hello, I have the same problem, I tried to find a solution in the onesignal documentation, but I couldn't find anything that could help me. |
Any news? |
I had a similar problem where one of my testing devices was in a bad state. The test device subscribed to my OneSignal app initially which was fine. Then I deleted the subscription from the dashboard on OneSignal. I installed a new version of the app on the test device and the subscription id / external id was persisted even though I had deleted it. Even uninstalling/reinstalling it seemed to cache the subscription id and external id on the device. Logging out of OneSignal and logging back in had no effect. This was really messed up beyond repair. How I reproduced it with my second test:
Result
Attempt to uninstall/reinstall the app
To renew the subscription I had to create a new OneSignal app, Change the configs on the react native app and do a uninstall.reinstall before it worked. Luckily this was a staging environment but can't be replicated in production. So this needs to be looked at. |
Thanks for providing that information @davram88. Let me take this to the team and try to investigate it a bit further. |
@sherwinski any update on this? I cleared all my user data on my OneSignal dashboard but the app keeps on pulling the same subscription ID or getting it from the phone cache? Now I can't renew a new subscription by any means. |
@davram88 Thanks for following up, here's what I've gathered since last time: On Android, the expected behavior is:
Some follow up questions that would help further debug:
|
How can we help?
I have an application in which I have several subscription IDs registered. In this case, I use OneSignal.initialize, which automatically sends the subscription. However, if the subscription is deleted or there is a problem, is it possible to automatically generate a new subscription for the user who has already given permission?
Currently, I can only generate a new subscription when I install the application again and OneSignal.initialize is called again.
Code of Conduct
The text was updated successfully, but these errors were encountered: