-
I have tackled issue with auth module not working on web, by using firebase sdk standalone web import to get trough authentication. I now need to fill react-native-firebase with auth that i got from other module, is that doable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you are using this on the web, you likely want to shim all react-native-firebase APIs to the firebase-js-sdk APIs so that there is no "filling in" and things just work as expected, i.e. https://github.com/invertase/react-native-firebase-authentication-example/tree/main/template/src/shims and the craco.config where webpack is configured with aliases to these shims |
Beta Was this translation helpful? Give feedback.
If you are using this on the web, you likely want to shim all react-native-firebase APIs to the firebase-js-sdk APIs so that there is no "filling in" and things just work as expected, i.e. https://github.com/invertase/react-native-firebase-authentication-example/tree/main/template/src/shims and the craco.config where webpack is configured with aliases to these shims