[FirebaseMessaging] Support for multiple Firebase apps #7552
Unanswered
vmalyi
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When adapting our app to multiple environments (production, test, development, etc.), I've stumbled upon FirebaseMessaging's private
instanceFor
constructor which docstring states that FirebaseMessaging doesn't support multiple Firebase apps.This is very unfortunate because it prevents us from using the phone verification on iOS in all additional Firebase environments except the default one. Additionally, it causes FirebaseMessaging not to work in our non-default Firebase apps.
I also noticed other folks facing similar issues because of the lack of the multiple apps support like #5844.
I'm curious what are the plans for FirebaseMessaging to support multiple apps the way e.g. FirebaseAuth, FirebaseFirestore are already doing?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions