Is there anyway to get access token without firebase-admin
huy-lv opened this issue · 2 comments
huy-lv commented
Hello, i want to get access token to call REST API get remote config. Is there anyway to get access token without firebase-admin because we can not use firebase-admin in react native :D
samtstern commented
@huy-lv this is working as intended. The Remote Config admin API is meant to be used from trusted (server) environments only. It's not safe to put admin credentials in React Native.
If you want to use Remote Config client APIs in your RN app see these instructions:
https://rnfirebase.io/remote-config/usage