我正在开发一个Cordova应用程序,需要使用谷歌登录,我已经使用了以下Cordova插件https://github.com/EddyVerbruggen/cordova-plugin-googleplus现在我在Ios上测试它完美工作,当它来到Android它显示警报:错误代码10和卡住和放克.. enter image description here

以及用于谷歌登录的以下代码

googleplusapi() {
       alert("google")
       window.plugins.googleplus.login(

       {
         'scopes': '', // optional, space-separated list of scopes, If not included or empty, defaults to `profile` and `email`.
        'webClientId': '816731629411-rsv37372o75vqu6kdfmd701abmd67el2.apps.googleusercontent.com', // optional clientId of your Web application from Credentials settings of your project - On Android, this MUST be included to get an idToken. On iOS, it is not required.
         'offline': true, // optional, but requires the webClientId - if set to true the plugin will also return a serverAuthCode, which can be used to grant offline access to a non-Google server
       },
       function (obj) {
         alert(JSON.stringify(obj));
       },
       function (msg) {
         alert('error: ' + msg);
       }


     );