When i try to run this library in with my code, the ionic 2 return the error above. I am trying to solve it per days, and already pass for all the integration javascript and typescript tutorials in the google. Would someone help me to run this library?
My codes follow bellow:
guarda-codigo.ts:
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { GrabbaProxcard } from './com.grabba.cordova.plugin/www/grabba';
declare var cordova: any;
/*
Generated class for the GuardaCodigo page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
*/
@Component({
selector: 'page-guarda-codigo',
templateUrl: 'guarda-codigo.html'
})
export class GuardaCodigoPage {
constructor(public nav: NavController) {
function acessaGrabba(value: number){
let proxcard = new GrabbaProxcard();
proxcard.prototype.registerCallback();
}
}
ionViewDidLoad() {
console.log('ionViewDidLoad GuardaCodigoPage');
}
}
Someone could help me please? I really need to solve this problem. I will be very grateful. Thank you for the attention.
I am trying to develop a project in typescript, but for it i need to run a library in javascript, the link for the library is that https://www.grabba.com/downloads/cordova/plugin.
When i try to run this library in with my code, the ionic 2 return the error above. I am trying to solve it per days, and already pass for all the integration javascript and typescript tutorials in the google. Would someone help me to run this library?
My codes follow bellow:
guarda-codigo.ts:
import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; import { GrabbaProxcard } from './com.grabba.cordova.plugin/www/grabba';
Someone could help me please? I really need to solve this problem. I will be very grateful. Thank you for the attention.