uxcam

Ionic2, how to import custom plugin (appsee or uxcam) into Ionic App

此生再无相见时 提交于 2020-01-14 02:12:10
问题 I am trying to use Appsee or UXcam I tried import like below, but no luck // import { Appsee } from '@ionic-native/appsee'; Else where i saw that you have to declare the variable in question for typescript to recognize the variable, I did that like below declare var cordova:any; // import { Appsee } from '@ionic-native/appsee'; declare var cordova:any; @Component({ templateUrl: 'app.html' }) export class MyApp { rootPage:any = LoginPage; // FOR TESTING constructor(platform: Platform,

Ionic2, how to import custom plugin (appsee or uxcam) into Ionic App

牧云@^-^@ 提交于 2019-12-06 09:00:49
I am trying to use Appsee or UXcam I tried import like below, but no luck // import { Appsee } from '@ionic-native/appsee'; Else where i saw that you have to declare the variable in question for typescript to recognize the variable, I did that like below declare var cordova:any; // import { Appsee } from '@ionic-native/appsee'; declare var cordova:any; @Component({ templateUrl: 'app.html' }) export class MyApp { rootPage:any = LoginPage; // FOR TESTING constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) { platform.ready().then(() => { cordova.plugins.Appsee.start(