Support for react-native-windows
Mike Hardy
This is actually very difficult, as the firebase c++ SDK is not very well developed compared to ios / android last we checked. (https://github.com/firebase/firebase-cpp-sdk) But! It is possible to use a "shim" technique in metro to redirect react-native-firebase imports to firebase-js-sdk v8 similar to how I demonstrate in our new auth example: https://github.com/invertase/react-native-firebase-authentication-example (https://github.com/invertase/react-native-firebase-authentication-example/tree/main/template/src/shims). This comes up for Invertase's FlutterFire work as well, and the decision there was to rely on a Dart implementation for desktop coded directly against the Firebase web service API endpoints vs use the CPP SDK