React-native google signin gives Developer Error

后端 未结 8 1892
日久生厌
日久生厌 2021-02-02 17:53

I am trying Google login using React-native-google-signin plugin but it gives me a Developer_Error.I have done exctly same as mention in its document.here is my code ans steps.<

8条回答
  •  情深已故
    2021-02-02 18:27

    It's just because of your androidClientId is a mismatch as your google console project

    1. create your new auth client id from your project API console : https://console.developers.google.com/apis/credentials

    2. update configuration to: myfile.js like:

    GoogleSignin.configure({ androidClientId:'YOUR CLIENT ID' )}

提交回复
热议问题