I used this plugin in ionic v1, workd fine. But I'm not sure how to add it to Ionic 2
I can’t build a project because he can’t find the cordova
import { Component } from '@angular/core'; import { Platform, NavController, NavParams } from 'ionic-angular'; @Component({ selector: 'page-scan-vehicle', templateUrl: 'scan-vehicle.html' }) export class ScanVehiclePage { constructor(public platform: Platform, public navCtrl: NavController, public navParams: NavParams) {} public scan () {
Enev in this example , they do the same. But how does it work if he does not find the cord, I mean, the cord is added only after it is built, right?
Harry source share