[OneSignal Plugin] Notification can't be received when the app is opening
Question
onesignal-plugin
Mobile icon
Forge component by Platform Maintenance
Application Type
Mobile

Hi, 

There is an issue when I implement OneSignal. 

The app only received the notification only 1 time when I open the app for the first time or reopen it after closing.

When the app is running or in the background, the notifications can't be received.

It happens on both iOS and Android.


If you have any idea to solve this problem. Please share the answer.


Thank you very much.

Chau

Hi,

I recommend this to always display notifications, set property InFocusDisplayOptions to Entities.InFocusDisplayOption.NOTIFICATION 

thanks & regards,

Prasath

Hi Prasath,

Thank you very much. Your solution is working.

I also try to modify the plugin by setting the OnDestroy to "None", and it is also working.

Best regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.