react native with firebase phone auth validation failed

后端 未结 4 815
一整个雨季
一整个雨季 2021-01-07 05:27

I\'m trying to make react native with firebase phone auth through react-native-firebase docs and I get this error

Error: This app is not authorized to us

4条回答
  •  甜味超标
    2021-01-07 05:51

    I found a solution you need to generate SHA1 from android studio when you run the project!

    1. Run your project.
    2. Click on Gradle menu.
    3. Expand Gradle Tasks tree.
    4. Double click on android -> signingReport and you'll see the result

    For Android studio 2.2 - result will be available under Run console but use highlighted toggle button.

提交回复
热议问题