Required fields description added to forms

This commit is contained in:
Eudes Inácio
2023-02-09 11:25:57 +01:00
parent 13c50fe491
commit ec475c76be
37 changed files with 188 additions and 90 deletions
@@ -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({