React Native - Firebase auth persistence not working

前端 未结 3 1880
你的背包
你的背包 2020-12-25 15:37

Firebase auth does not persist logged in user and everytime I refresh or reopen app I have to sign in again.

I have tried setting persistence to local and the callba

3条回答
  •  粉色の甜心
    2020-12-25 16:02

    Make sure you do not restrict the 'Token Service API' in the console, with the API key you are using. I did not add the service to my key, and it logged me out every 3-4 hours, even with the right code suggested above.

提交回复
热议问题