Repeated local notification not working

#1

Plugin version: cordova-plugin-local-notification 0.9.0-beta.2 “LocalNotification”
Platform: Android
OS version: 6.0.1
Cordova version (cordova -v): 8.0.0
Cordova platform version (cordova platform ls): 7.0.0

Plugin config:

this.localNotifications.schedule({
    id: notificationId,
    title: title,
    text: text,
    icon: "res://icon",
    smallIcon: "res://notification",
    color: '#000000',
    every: {
       weekday: 5,
       hour: 19,
       minute: 0
    }
});

Ionic Version: 4.0.1

I need to schedule one repeatable local notification to every Friday at 19h.

I using latest version of Local Notifications plugin (https://ionicframework.com/docs/native/local-notifications/) but the parameters to repeat notifications is obscure in docs. Parameters same every is a ELocalNotificationTriggerUnit, not string (like repo docs (GitHub) or forum examples).

I’m trying create a schedule and repeatable notification in all Fridays of weeks but, this not working because the comments of plugin files not light my life to perfect understand a method to implement that.

I try to implement equals actual docs (Katzer) but, not working.

Repo Docs: https://github.com/katzer/cordova-plugin-local-notifications

How i make that? Sorry for my mistake and thanks for your attention.

#2

Hi, I am trying the same since couple of days but no luck. Trying exactly same which is mentioned in doc but no luck. If anyone have any pointer on that please share.

Thanks.

1 Like
#3

Now I trying to verify again this problem to find a solution. When I get that, I update this post to help you.

#4

Hello,

i am facing the same problem. Did you manage to find a solution ?

#5

if u r using ios 12 use the old version it will work the new version 0.009 not working with ios 12
but still there is a problem with android 8 (oreo ) if i find a solution ill tell u
since i have 1 day to find a solution for that :frowning: