Remove synchro to production

This commit is contained in:
Peter Maquiran
2021-08-31 11:44:10 +01:00
parent b9b3f5be24
commit 60fdcfa42e
2 changed files with 6 additions and 3 deletions
@@ -1,15 +1,18 @@
import { Injectable } from '@angular/core';
import { AlertController, Platform } from '@ionic/angular';
@Injectable({
providedIn: 'root'
})
export class WebNotificationPopupService {
constructor() { }
constructor( private platform: Platform) { }
askNotificationPermission() {
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {}
else {return false}
// function to actually ask the permissions
function handlePermission(permission) {}
+1 -1
View File
@@ -136,7 +136,7 @@ class SynchroService {
if(window['platform'].is('desktop') || this.platform.is('mobileweb')) {}
else return false
// if(environment.production) return false
if(environment.production) return false
this.callBacks.forEach((e)=> {