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

My player id is unsubscribe when refresh (F5) my app #28

Closed
JELugoM opened this issue Jan 27, 2021 · 3 comments
Closed

My player id is unsubscribe when refresh (F5) my app #28

JELugoM opened this issue Jan 27, 2021 · 3 comments

Comments

@JELugoM
Copy link

JELugoM commented Jan 27, 2021

Hi, I have a problem, maybe my implementation is wrong, but I want your feedback, I've tried to implement onesignal on my reactjs web app (it's not react native).

I tried 3 differents aproachs:
1.- Following the oficial onesignal web push sdk documentation.
2.- This aproach.
3.- Using this aproach https://dev.to/devpato/push-notifications-in-reactjs-with-onesignal-5bon

All of them I've completed successfully, but all have a strange behavior on my reactjs web app.

When my app get the notifications permissions for first time and I accept it, it doesn't show the welcome notification and if I send a notification from my onesignal dashboard it doesn't show.

If I refresh (F5) my app two times and send another notification, it works and show correctly. But if for any reason I refresh again my app, the notifications don't work anymore and in my onesignal dashboard shows that my player id is unsubscribe.

Somebody has the same issue? or what could be wrong in my app? Thanks.

@rgomezp
Copy link
Contributor

rgomezp commented Nov 9, 2021

Howdy,
Can you please try upgrading to the latest release? Hopefully, you are not encountering the issue anymore.

Cheers

@rgomezp
Copy link
Contributor

rgomezp commented Dec 29, 2021

Closing due to inactivity

@rgomezp rgomezp closed this as completed Dec 29, 2021
@agustinramos
Copy link

@rgomezp I have the same problem
@JELugoM Did you resolve the problem? or do you implement another tool?

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

3 participants