thanks! i have this problem, the notification doesn't runs in Doze mode, when display is turned off. The notification is visible only if i turn the display on. I have set the allowWhileIdle: true
@@techbinomial Thanks a lot. Also, I was wondering how would you implement it if you click the notification and will open to a specific screen of the app? And is local-notication capable to send notifs on a schedule even if the app is closed?
This one works perfectly for me... schedule: { on: { hour: scheduledDate.getHours(), minute: scheduledDate.getMinutes(), second: scheduledDate.getSeconds() }, every: 'day', repeats: true }
Permissions required for android refer docs ionicframework.com/docs/native/local-notifications To be truthfull I don't have infra.. to run on ios to crosscheck.
Thanks. This is until now the only place where i could learn and implement this functionality without find a lot problems in the way
Thank you so much. The only video that worked for me the first time
Precise and concise. Thanks. This was super helpful
My notification just appear one time and it not show anymore the message that i'm reciving it's:
{"code":"UNIMPLEMENTED"} can i solve it?:(
Thank you very much for the video.
thanks! i have this problem, the notification doesn't runs in Doze mode, when display is turned off. The notification is visible only if i turn the display on. I have set the allowWhileIdle: true
Nice tutorial! I'm new to mobile dev. But I have to ask this. How did you automatically sync the changes from vscode to your android emulator?
$ ionic capacitor run ios -l --external
$ ionic capacitor run android -l --external
For more information
ionicframework.com/docs/cli/livereload
@@techbinomial Thanks a lot. Also, I was wondering how would you implement it if you click the notification and will open to a specific screen of the app? And is local-notication capable to send notifs on a schedule even if the app is closed?
@@marjdyou can go for push notifications.
ionicframework.com/docs/native/push-notifications
Great video. I'd like to understand more how iOS interprets channels in Capacitor, because channels are for Android only ?
Don't have infra for ios development. so only android
Thanks madam for the help
😊
How to import scheduleoptions?
import { LocalNotifications,ScheduleOptions, CancelOptions,Channel} from '@capacitor/local-notifications';
Can i have the full code for this tutorial??
github.com/sarvosmi/localNotifications
I have requirement to send notification every 15 minutes How can I acheive this? I tried every,on properties but this does not worls accurately
Observed the same, that might be plugin issue.
@@techbinomial oh that sound bad
for (let i=0;i
@@ShadowHijackersGaming I will try. Thanks 👍
This one works perfectly for me...
schedule: {
on: {
hour: scheduledDate.getHours(),
minute: scheduledDate.getMinutes(),
second: scheduledDate.getSeconds()
},
every: 'day',
repeats: true
}
For iso permission ? Ma'am
Permissions required for android
refer docs
ionicframework.com/docs/native/local-notifications
To be truthfull I don't have infra.. to run on ios to crosscheck.