The phone vibrates for a whole minute and either crashes or continues to work after the minute when trying to trigger the everyday notification.
cordova -v
): 9.0.0cordova platform ls
): 8.1.0receive notification 1 time when using trigger {every: {hour: 12, minute: 0}}
the phone vibrates for a whole minute and either crashes or continues to work after the minute passed eventually
using trigger {every: {hour: 12, minute: 0}} or any other minute (when I used every: ELocalNotificationTriggerUnit.MINUTE everything was alright, however, I really need that 12:00 notification)
this.localNotifications.schedule({
id: 1,
title: "Hey, check this out!",
text: `Don't forget to check out our daily deals & offers on our ${this.randomChosenCategory} products!`,
trigger: { every: { hour: 10, minute: 30 } }
});
Want to receive a scheduled notification every day at 12:00
build is successful so there are not any error logs, however, it vibrates for a whole minute for some reason even though the notification appears in a normal way.
We are having the same issue. The app receives endless notifications for a whole minute. In some devices it crashes after a few seconds with a StackOverflowError.
@NilLlisterri unfortunately, they never responded to me, I actually already finished the app I was working on while they were responding. What I can suggest, as it is definitely their bug, you can just set it to send the notification daily and this issue will disappear, however it is sad that you cannot control the time when you receive it. If you find the solution send it to me pls.
Facing same issue
Hi all, perhaps you can try this fork, it is more recent and still
maintained (to my knowledge):
https://github.com/timkellypa/cordova-plugin-local-notifications
Note:
-The fork also includes updates for Android 10.
-It uses androidx, so you might need cordova-plugin-androidx and/or
cordova-plugin-androidx-adapter plugins.
Hope it helps. Thanks.
On Thu, Mar 4, 2021 at 2:20 PM Athif Shaffy notifications@github.com wrote:
>
Facing same issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.