android - Firebase Service Lifecycle -


when firebase service receives remotemessage, , app has been killed swiping away, must app still process message?

it's data message, behaviour process , not put gui notification.

you have override handleintent(intent) without calling super.handleintent(intent) in it. problem approach remotemessage object not created. create myself this:

remotemessage message = new remotemessage.builder(firebaseinstanceid.getinstance().gettoken()) 

and pass data map , onmessagereceived(remotemessage) myself (this optional, don't need object @ all).

this not best approach way found allowed me build notification on own or ignore completely.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -