I have built a Firebase Cloud Messaging library to use it in my apps and other own libraries. Currently I just have one BroadcastRecevier (like in the standard examples) , which works so far. Another student (which is on holidays now) recommended to use dedicated Listeners for this BroadcastReceiver for each app or librariy I use and to "inject those listeners".
Then I would have a set of listeners, where I forward the incoming messages.
Can you imagine what he meant?
Aucun commentaire:
Enregistrer un commentaire