Skip to content

Using in conjunction with native SDK? #5360

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

You must be logged in to vote

It should yes. Be careful though, react-native-firebase has a strong expectation that it is in control of initialization for the apps in firebase-ios-sdk and you will run in to problems if you attempt to configure firebase-ios-sdk using non-react-native-firebase configuration mechanisms.

Instead, if your native code has any execution paths that touch firebase-ios-sdk prior to react-native-firebase starting up and initializing you should call the react-native-firebase initialization machinery to make sure it is set up internally and in a consistent state

This is not really something we support because no one really does it and the ones that do know what they're doing, although not always

r…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@iliaskarim
Comment options

@mikehardy
Comment options

Answer selected by andersonaddo
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