Tuesday, 12 October 2021

Android onesignal push notifications do not appear after device reboot

Problem
In my webview app, I use onesignal to send user push notifications from my server. The device receives notifications not only when the app is running but also when it is completely closed. However, if I switch off and then switch on my phone, I do not get the notifications. And only after launching the app, I obtain those messages.

Idea
My idea was to launch my app on boot and immediately close it, so the user does not even notice it. However, I do not think it is a very good solution.

How do the developers usually solve this issue?



from Android onesignal push notifications do not appear after device reboot

No comments:

Post a Comment