Using non native ionic plugin


I am using the, which is in Ionic 2 and I want to use it in my Ionic 3 project.
So what I do is copy the project in my root directory and create the package.json via npm init
Then I install the cordova plugin ionic cordova plugin add cordova-plugin-live-ocr

When I use it on my IOS device, I got an error like undefined is not an object (evaluating cordova.plugins.LiveOcrPlugin)

My code:

import {Component} from "@angular/core";
import {Loading, LoadingController} from "ionic-angular";

declare var cordova;

  selector: 'scan',
  templateUrl: 'scan.html'

export class Scan{

  constructor() {

  private scan() {
      (success) => {
      (error) => {


Please help!