[ 
https://issues.apache.org/jira/browse/CB-14218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-14218.
-----------------------------
    Resolution: Invalid

local notifications plugin is not a core plugin, report it on the plugin 
repository

> Local notification is triggering daily and same text is appearing everyday.
> ---------------------------------------------------------------------------
>
>                 Key: CB-14218
>                 URL: https://issues.apache.org/jira/browse/CB-14218
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios, Ionic
>    Affects Versions: cordova-ios 4.5.0
>         Environment: I am using Xcode 9.4.1,
> iOS-11.4,
> ionic- version1,
> [email protected],
> This is the plugin I am using to get localnotifications:
> https://github.com/katzer/cordova-plugin-local-notifications/tree/example
>            Reporter: Chakravarthy
>            Priority: Major
>             Fix For: cordova-ios 4.5.0
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> Hi Team, 
> I am developing a hybrid application with cordova and ionic1 , In my 
> application I am triggering a local notifications on particular dates at 8:00 
> PM, First notification is getting perfectly on time with expected title.But 
> after that I am getting notification daily and notification with same title, 
> If suppose two notification dates are come one after another , I am getting 
> notification with previous title.I am scheduling a notification on specific 
> dates only otherwise I am canceling the notification. Please help me on this. 
>  
> This is my code:
> var d = new Date();
> d.setHours(20,0,0,0);
> cordova.plugins.notification.local.schedule([{ id: 2,
>                                                                        title: 
> "Paramhamsa Vani",
>                                                                        text: 
> Title,
>                                                                        at: d,
>                                                                        every: 
> "day",
>                                                                         icon: 
> 'file://platforms/android/res/drawable- 
>                                                                               
>     ldpi/icon.png',
>                                                                        sound: 
> 'res://platform_default'
>                                                                               
>                 },
>                                                                               
>                 ]);
>                                                  }
>                                                  else
>                                                  {
>                                                  
> cordova.plugins.notification.local.cancel(2, function () {
>                                                                               
>              Logger.debug("Event Notification has been canceled!!!!");
>                                                                               
>              });
>                                                  }
>                                                  }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to