- SDK Version: 37
- Platforms(Android/iOS/web/all): Android/iOS
I have been trying to add Firebase Remote Config in my Expo app, and I am a bit overwhelmed with the amount of choices.
expo-firebase-remote-config
has been deprecated in favour of the firebase-js-sdk
and rnfirebase
.
firebase-js-sdk: This does not support remote-config on React Native since it’s remote config only supports browser environments. You run into issues like “Can’t find variable: IDBIndex” if you import “firebase/remote-config” into Expo.
rnfirebase: I am using a managed workflow, so I cannot use this package according to it’s documentation.
It’s been a bit of a struggle to work all this out, but I understand these 3 options and why none of them work.
So what’s the way to use remote config inside of Expo?