the notification alone will work when the app is closed na (since the notification is sent from onesignal)?
I meant the app should be opened for the blocks to work. But for the user to receive a notification he only needs an internet connection na ?
No . Onesignla needs the App to be open to complete the connection. The connection is from the APP to Oesignal ot the Operating system. It is Application layer.
Then what exactly is the use of OneSignal ? If the app need to be opened to receive notifications then we can do it with the ‘notification’ itself na ?
I think there is some sort of misunderstanding..
This what I could see on their website:
When sending notifications from OneSignal, we gather these notifications and send them to Google and/or Apple whom distribute them to your users. These notifications are “held” by their servers until the device becomes online.
If it is correct then they only need the device to be online (internet connection).
I’m definitely gonna try it. Not because I want to prove you wrong, but to know if it works or not. If it works the way I want, then that would be really useful.
I tried onesignal & its working
You don’t have to keep the app open. All you need is an internet connection.
And what makes me even more happy is that when I click on the notification its automatically opening the app
I even tried it by rebooting my mobile. It works all the time