From 347bb9486a28b0c0374e352d4d532a306825f906 Mon Sep 17 00:00:00 2001 From: haroldhalcyon28 <31718572+haroldhalcyon28@users.noreply.github.com> Date: Thu, 12 Apr 2018 09:01:56 +0800 Subject: [PATCH 1/2] WikitudePlugin undefined added `declare var WikitudePlugin;` to remove error --- src/app/app.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index ef8a507..9cbe87c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -6,6 +6,8 @@ import { SplashScreen } from '@ionic-native/splash-screen'; import { TabsPage } from '../pages/tabs/tabs'; +declare var WikitudePlugin; + @Component({ templateUrl: 'app.html' }) From b6186eac8ec841fe73f91600ffb06c155aa7fa69 Mon Sep 17 00:00:00 2001 From: haroldhalcyon28 <31718572+haroldhalcyon28@users.noreply.github.com> Date: Thu, 12 Apr 2018 09:04:12 +0800 Subject: [PATCH 2/2] WikitudePlugin undefined; added `declare var WikitudePlugin;` to remove error --- src/pages/ar-view/ar-view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/ar-view/ar-view.ts b/src/pages/ar-view/ar-view.ts index dd8a5a1..44ed362 100755 --- a/src/pages/ar-view/ar-view.ts +++ b/src/pages/ar-view/ar-view.ts @@ -2,6 +2,8 @@ import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; +declare var WikitudePlugin; + /* Generated class for the ARView page.