Disabled capacitor and add camera integration

This commit is contained in:
Tiago Kayaya
2020-12-11 18:00:38 +01:00
parent 5496953f63
commit d4d08c6039
111 changed files with 182 additions and 2338 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
import { Injectable } from '@angular/core';
import {
/* import {
Plugins,
PushNotification,
PushNotificationToken,
PushNotificationActionPerformed,
Capacitor
} from '@capacitor/core';
} from '@capacitor/core'; */
import { Router } from '@angular/router';
const { PushNotifications } = Plugins;
/* const { PushNotifications } = Plugins; */
@Injectable({
providedIn: 'root'
@@ -17,7 +17,7 @@ export class FcmService {
constructor(private router: Router) { }
initPush() {
/* initPush() {
if (Capacitor.platform !== 'web') {
this.registerPush();
}
@@ -58,7 +58,7 @@ export class FcmService {
}
}
);
}
} */
}