Useful or not, from you.
react-native-firebase Error: An internal error has occurred. [ API Key not valid. Please pass a valid API key.]


react native firebase always return API Key not valid error. even I have tried to re-download the google-service.json but still have the same problem

Project Files

  • Android: `android/app/google-services.json




signIn = async () => {
     try {
             const confirmResult = await firebase.auth().signInWithPhoneNumber(this.state.phoneNumber)
    } catch (error) {


react-native info output:

<!-- Please run react-native info on your terminal and paste the contents into the code block below -->

    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
    Memory: 1.84 GB / 7.69 GB
    Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.10.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
    Android Studio: Version AI-182.5107.16.33.5199772

<!-- change [ ] to [x] to select an option(s) -->

  • Platform that I am experiencing the issue on:

    • Android
  • react-native-firebase version that has this issue:

    • ^5.5.6


That's a useful answer
Without any help

any help