mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Remove synchro to production
This commit is contained in:
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user