Android &引用;错误:为Firebase项目禁用了给定的登录提供程序。”;但是我';已启用firebase google auth

Android &引用;错误:为Firebase项目禁用了给定的登录提供程序。”;但是我';已启用firebase google auth,android,firebase,ionic-framework,firebase-authentication,Android,Firebase,Ionic Framework,Firebase Authentication,我在android应用程序中使用离子3,但在使用firebase登录google plus时出错。集成了ionic和cordova g+插件,我的代码是 gPlusLogin(){ this.nativeGLogin(); } async nativeGLogin(){ try { const gplusUser = await this.googlePlus.login({ 'webClientId': '235*********ie.apps

我在android应用程序中使用离子3,但在使用firebase登录google plus时出错。集成了ionic和cordova g+插件,我的代码是

gPlusLogin(){
    this.nativeGLogin();
}

async nativeGLogin(){
    try {
       const gplusUser = await this.googlePlus.login({
         'webClientId': '235*********ie.apps.googleusercontent.com',
         'offline': true
       })

       return await this.afAuth.auth.signInWithCredential(firebase.auth.GithubAuthProvider.credential(gplusUser.idToken))
     } catch (error) {
         this.errorAlert(error)
     }
}

当您打算使用Google登录时,您正在将
GithubAuthProvider
与您的
WithCredential登录一起使用,这可能就是问题所在。

您有解决方案吗?