flutterfire
flutterfire copied to clipboard
[firebase_messaging] Support multiple FirebaseApp instances
What feature would you like to see?
Add support for non-default databases in Firebase Messaging.
Currently the instanceFor factory constructor is private for firebase_messaging, but is exposed for Auth, Firestore, Functions, and Storage.
Is there a missing a feature that is supported on an underlying SDK? Or is there a feature that you think would be useful to have in FlutterFire?
I'm not sure if it's supported in the underlying SDK yet or not, but it would be great to have!
Not supported in either the Firebase iOS or android SDKs, but it appears to be supported on web: https://firebase.google.com/docs/reference/js/messaging_.md?_gl=1tja5fc_upMQ.._gaMTIxNDE1NzQ3MS4xNzEwMzIzMTQ2_ga_CW55HF8NVT*MTcxMDMyMzE0Ni4xLjAuMTcxMDMyMzE0Ni4wLjAuMA..#getmessaging_cf608e1
So the JS platform is the only one to actually support multiple messaging instances?
Closing this out for now as mentioned previously, multi-app support is only available for web. If the upstream SDKs (apple and android) change, FlutterFire will also support multi-apps for messaging.