FabricPlugin icon indicating copy to clipboard operation
FabricPlugin copied to clipboard

FabricPlugin and Ionic3

Open pertoft opened this issue 6 years ago • 0 comments

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]) λ

pertoft avatar Jan 30 '19 11:01 pertoft