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.


#3

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