Using Firebase with React Native for Web via Expo?


I’m working on a mobile app that need a web version too. I would prefer to keep only one code base to maintain so I’m strongly looking into React Native for Web.

The issue is that I need to use Firebase as a backend.

If I understand well, the most common library, “React Native Firebase”, use the mobile SDKs and will not be compatible for web?

But if I use Expo managed workflow as well as Expo components, it will use the JavaScript SDK?

Would this enable to keep React Native for Web working with Firebase?