Skip to content

Cloud messaging - secondaryApp #5250

Answered by mikehardy
iwalker7 asked this question in Q&A
Discussion options

You must be logged in to vote

It doesn't support it.
The products that do have constructors that can take a FirebaseApp, like Functions https://firebase.google.com/docs/reference/android/com/google/firebase/functions/FirebaseFunctions#getInstance(com.google.firebase.FirebaseApp)

Messaging doesn't https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#getInstance()

Nothing to do with react-native-firebase, it's a messaging limitation, since the device receives messages and the device is a singular thing, the messages module is a singular thing.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@iwalker7
Comment options

@mikehardy
Comment options

@iwalker7
Comment options

Answer selected by iwalker7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants