Hey every body,
I’m trying to make local notification that alarm me every day or every week…
The plugin installed successfully and the notification works but it doesn’t when I try to add repeating.
Here my code:
//cordova.plugins.notification.local.schedule({
this.localNotifications.schedule({
id: 1,
title: "title1" ,
text: "description1",
every: 'week',
//at: notificationTime
trigger: { at: notificationTime }
});
Here the version of local notification:
<plugin name="cordova-plugin-local-notification" spec="^0.9.0-beta.2" />
Here the output of “ionic info” :
Hi is there any update yet?
_Ali94
September 25, 2018, 9:42pm
3
There is no … i removed repeated notification from my project
_Ali94
September 25, 2018, 9:42pm
4
Wish someone help us if any
8tomo8
September 26, 2018, 4:54am
5
From my experience, scheduled local notifications don’t work correctly in development, but work fine in production. If you follow the instructions exactly on the cordova github page then it should work correctly when you build for release.
_Ali94
September 26, 2018, 5:09am
6
Thanks for reply
Can u share us any code that can be work in case repeat every weak or month or day ? Because I checked so many solutions but no good news.
8tomo8
September 26, 2018, 5:13am
7
Have you tried in production? This is the link I used to build it. If you’re still having issues after this I’ll dig out the code.
1 Like
Hi, The link you have mentioned this is working for version 8.5, but not for the latest one.
_Ali94
September 26, 2018, 9:43am
9
No problem if u work on old versions
For me, i checked his solution and now my project cannot be built to upload the new version of app on google play
Yep… If you have time you can give a try on this.