Google plus login in ionic returns error 10

I am using google plus login in an ionic application. The login functionality is working correctly 4.2, 4.3 Android devices. But it returns an error: 10 in versions 5+ of android. For this I use this plugin 'cordova-plugin-googleplus'. I installed it using the CLI command line and npm

Here is my code.

     window.plugins.googleplus.login(
        {},
        function (user_data) {
          alert(JSON.stringify(user_data));   
        },
        function (msg) {
          alert(msg);
        }
    );

I did not have any working solutions from my search. Please help me solve this problem.

Thanks in advance.

+4
source share
2 answers

google ( android). , package.json, reset,

debug-signed.propoerties release-signed.propoerties, apk

0

Keystore ...

: keytool -exportcert -keystore ~/.android/debug.keystore -list -v -alias androiddebugkey

:

Fine/ Windows debug.keystore

:)

0

Source: https://habr.com/ru/post/1659901/


All Articles