Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FabricPlugin and Ionic3 #149

Open
pertoft opened this issue Jan 30, 2019 · 0 comments
Open

FabricPlugin and Ionic3 #149

pertoft opened this issue Jan 30, 2019 · 0 comments

Comments

@pertoft
Copy link

pertoft commented Jan 30, 2019

I have followed the guide at the official Ionic documentaiton: https://ionicframework.com/docs/v3/native/crashlytics/

ionic cordova plugin add cordova-fabric-plugin --variable FABRIC_API_KEY=XXX --variable FABRIC_API_SECRET=xxx
npm install --save @ionic-native/fabric

In app.module.ts:
...
import { Crashlytics } from '@ionic-native/fabric';
...
providers: [
Crashlytics,
StatusBar,
SplashScreen,
...

VS Code gives the error:

image

Build error:
image

Have I missed something or is there a bug here?

λ ionic info

Ionic:

ionic (Ionic CLI) : 4.10.0 (C:\Users\pto\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1

Cordova:

cordova (Cordova CLI) : 8.1.2 ([email protected])
Cordova Platforms : android 7.1.4, browser 5.0.4
Cordova Plugins : no whitelisted plugins (9 plugins total)

System:

NodeJS : v8.11.2 (C:\Program Files\nodejs\node.exe)
npm : 6.5.0
OS : Windows 10

C:\pto\source\BabyLoungeApp (master) ([email protected])
λ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant