ylliX - Online Advertising Network

Intercepting Push when the app is backgrounded



Hey all, We are using Firebase in our project and when the app is already running, we can intercept the push by overriding the onMessageReceived(), that's all good. Is there any way to intercept them when the app is not running? Looking at the docs, it doesn't look like it for a Notification. I saw some recommendations of trying a service broadcaster to listen for FCM events. Anyone tried that? Our use case is I want to create a custom UI for the notification, similar to a Live Activity on iOS when I receive a certain push. It works when the app is running, but when closed it's just posted to the notification try. TIA!

submitted by /u/adunn511
[comments]



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *