我正在与离子3一起工作,在那里,我试图通过firebase将、google和登录集成到我的应用程序中。但我错了,
错误是>>
ERROR TypeError: Object(...) is not a function
at GooglePlus.login (index.js:27)
at HomePage.webpackJsonp.186.HomePage.login (home.ts:28)
at Object.eval [as handleEvent] (HomePage.html:3)
at handleEvent (core.js:13
我刚刚将电容升级到3.2.x,当我尝试构建我的离子项目时,几乎没有电容功能可以工作。例如,我得到如下错误:
Uncaught TypeError: cap.nativeCallback is not a function
...
Uncaught TypeError: Capacitor.createEvent is not a function
...
package com.getcapacitor.annotation does not exist
这是我的Ionic Info:
Ionic:
Ionic CLI : 6.17.1 (/us
我无法从cordova中删除任何插件。当我在android中安装cordova-firebase-plugin时,它崩溃了。
> cordova plugin remove cordova-plugin-firebase
Uninstalling cordova-plugin-firebase from android
Error during processing of action! Attempting to revert...
Uh oh!
ENOENT: no such file or directory, open '/home/abhishek/client_pro
我正在尝试将android平台添加到一个离子(Angular)项目中。 ionic capacitor add android 它识别出离子电容add,并要求我选择一个平台。 ? What platform would you like to add? (Use arrow keys)
> android
ios 但是一旦我选择了android平台,我就会得到这个错误。 ? What platform would you like to add? android
[ERROR] Error while getting Capacitor CLI version.
我正在尝试构建Android应用程序,并得到这个输出错误:
BUILD FAILED in 39s
/Users/myuser/dev/myapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or uns
我是新手在应用程序开发,但我正在建立一个应用程序与谷歌登录连接到我的Firebase。我可以成功连接并显示用户id,但当成功登录时,我想转到另一个页面(HomePage)。
import { HomePage } from "../home/home";
import { RegisterPage } from "../register/register";
import * as firebase from "firebase/app";
import { AngularFireAuth } from "angularfire2/au