Я пытаюсь использовать ионный плагин Google Plus для входа в систему, но он не работает. Вот код, который я использую:
googleLogin(){
this.googlePlus.login({
})
.then(res => {
console.log(res);
})
.catch(err => console.error(err));
}
Я установил:
"cordova-plugin-googleplus": "8.1.2",
"@ionic-native/google-plus": "^5.0.0",
Ионная информация:
Ionic:
ionic (Ionic CLI) : 4.11.0 (C:\Users\andri\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.3
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic 5.4.4, cordova-plugin-ionic-webview 4.1.1, (and 6 other plugins)
Ошибка при нажатии:
BuyerLoginPage.html: 141 ОШИБКА TypeError: Object (...) не является функцией в GooglePlus.login