mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Required fields description added to forms
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Platform } from '@ionic/angular';
|
||||
import { CapacitorConfig } from '@capacitor/cli';
|
||||
import { LocalNotifications } from '@capacitor/local-notifications';
|
||||
import { LocalNotifications, LocalNotificationSchema } from '@capacitor/local-notifications';
|
||||
|
||||
|
||||
@Injectable({
|
||||
@@ -25,6 +25,13 @@ export class NativeNotificationService {
|
||||
|
||||
}
|
||||
|
||||
foregroundNotification() {
|
||||
console.log('Local notification foreground')
|
||||
LocalNotifications.addListener('localNotificationReceived', (notification) => {
|
||||
console.log('Local Notification',notification)
|
||||
})
|
||||
}
|
||||
|
||||
sendNotificationChat({title = 'User', icon = '', message = 'hello'}) {
|
||||
|
||||
LocalNotifications.schedule({
|
||||
|
||||
Reference in New Issue
Block a user