Ionic2 安卓设备上的ionic native(ionic 2)Google Plus登录问题
我正在尝试在我的应用程序中集成g+登录。我遵循了以下步骤: 1.安装了ionic Navctive gplus插件,使用:ionic插件添加cordova插件googleplus--变量反转\u客户端\u ID=myreversedclientid 使用从console.developers.google.com生成的反向客户端id。它的格式是xxxxxxxx-xxxxxxxxx.apps.googleusercontent.com 我的应用程序实际捆绑id是:com.mycomp.myappid 然后单击登录按钮尝试g+本机调用。这是我的ts代码:Ionic2 安卓设备上的ionic native(ionic 2)Google Plus登录问题,ionic2,google-plus-signin,Ionic2,Google Plus Signin,我正在尝试在我的应用程序中集成g+登录。我遵循了以下步骤: 1.安装了ionic Navctive gplus插件,使用:ionic插件添加cordova插件googleplus--变量反转\u客户端\u ID=myreversedclientid 使用从console.developers.google.com生成的反向客户端id。它的格式是xxxxxxxx-xxxxxxxxx.apps.googleusercontent.com 我的应用程序实际捆绑id是:com.mycomp.myappi
this.platform.ready().then(() => {
GooglePlus.login({}).then((gplusData)=>{
console.log("gplusData:"+JSON.stringify(gplusData));
},
(gplusErr)=>{
console.log("gplusErr:"+JSON.stringify(gplusErr));
});
});
尝试上述代码时,将出现错误阻止和打印:
gplusErr:8
我不明白这是什么意思。我还提出了一些其他问题: