mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Disabled capacitor and add camera integration
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
} */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user