Hello,
Just wondering if anyone can shed some light on this. I've followed the Firebase push notifications tutorial and it's working fine, my device is receiving a msgbox dialog notification when the app is running in the foreground, and a push notification when in the background - no problems at all.
@Erel confirmed in this post (https://www.b4x.com/android/forum/t...-notification-clarification.93283/post-590196) "If the application is in the foreground then RemoteNotification event is raised. If the app is in the background or not running then a notification is shown."
My question is how does this notification in the background get displayed? From the code, the only thing I can see is the messagebox (when in foreground)
whereas B4A tutorial has a notification object defined... so how is it displaying in iOS like that if there is no notification defined? If I go ahead and define a new notification on the message received event in B4i, will that override the current one or will there be two displayed?
Thanks!
Just wondering if anyone can shed some light on this. I've followed the Firebase push notifications tutorial and it's working fine, my device is receiving a msgbox dialog notification when the app is running in the foreground, and a push notification when in the background - no problems at all.
@Erel confirmed in this post (https://www.b4x.com/android/forum/t...-notification-clarification.93283/post-590196) "If the application is in the foreground then RemoteNotification event is raised. If the app is in the background or not running then a notification is shown."
My question is how does this notification in the background get displayed? From the code, the only thing I can see is the messagebox (when in foreground)
B4X:
Msgbox(Message, "Push message!")
Thanks!