hansemannn / titanium-firebase-cloud-messaging

Use the Firebase Cloud Messaging SDK in Axway Titanium 🚀 Edit
Other
43 stars 31 forks source link

Once the app is in background or closed in android, callback is not fired #19

Closed MohamadALHAJJ closed 6 years ago

MohamadALHAJJ commented 6 years ago

I've implemented the module as described, all works fine, but once the app is in background or closed the callback is not fired

m1ga commented 6 years ago

The notification is visible? The callback is only fired when the app is still available. Otherwise you can get the data when you start your app. See https://github.com/hansemannn/titanium-firebase-cloud-messaging/issues/13#issuecomment-384715757

hansemannn commented 6 years ago

Thanks @m1ga, closing! @MohamadALHAJJ Please use StackOverflow for questions, thx!