-
Notifications
You must be signed in to change notification settings - Fork 1.9k
iOS: Not able to schedule local notification after adding the plugin #183
Comments
If this means the |
@sparsh0611 interesting, did you open a similar bug on Local Notifications and link to this one? |
@sparsh0611 kk, thx. It's weird that it would pop up now as the iOS code is nearly identical to the old plugin. |
@macdonst I'm really grateful for your quick response and all the help. I see that you have added the retest label too. But, my business client is continuously asking me about the progress and also when the issue will be resolved. I'll be really thankful if you could let me know the progress or if you have identified the issue. Thanks. |
Same problem here with Android, it breaks the building when I use both plugins in my project. |
@dnish Go +1 this PR on the local notification plugin as it fixes your issue: katzer/cordova-plugin-local-notifications#697 |
Conflicting implementation of didRegisterUserNotificationSettings prevents cordova-local-notifications-plugin from being notified of success. emoving it fixes the problem as it was redundant (simply calls registerForRemoteNotifications, which is called anyway from PushPlugin:init right after registerUserNotificationSettings). Fixes phonegap/issues/183 and katzer/cordova-plugin-local-notifications/issues/695
👍 |
This thread has been automatically locked. |
Conflicting implementation of didRegisterUserNotificationSettings prevents cordova-local-notifications-plugin from being notified of success. emoving it fixes the problem as it was redundant (simply calls registerForRemoteNotifications, which is called anyway from PushPlugin:init right after registerUserNotificationSettings). Fixes phonegap/phonegap-plugin-push/issues/183 and katzer/cordova-plugin-local-notifications/issues/695
Even when a local notification is scheduled, didRegisterForRemoteNotificationsWithDeviceToken method of PushPlugin.m gets called and returns an error "Invalid callback id received by sendPluginResult". Because of this, local notification is not scheduled either.
The plugin used for local notification is -
https://github.com/katzer/cordova-plugin-local-notifications.git
The text was updated successfully, but these errors were encountered: