Possible incompatible background geolocation cordova plugin with capacitor on iOS #3357
-
Hello, My Push Notifications and Local Notifications does not trigger events pushNotificationReceived, pushNotificationActionPerformed, localNotificationReceived and localNotificationActionPerformed After a couple of days of troubleshooting, i stumbled on this issue where
which in my app, has this plugin https://github.com/mauron85/cordova-plugin-background-geolocation where on Android has a notification that displays when it is enabled. on iOS however has no (to my knowledge) notification whatsoever. Of course, after uninstalling said plugin, all events above can be triggered, however I have no idea why this happens or if there is a workaround to this, hence asking here. Sorry if posting here was not appropriate as I think this is not issue worthy enough without an appropriate reason. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yeah, that plugin has it's own notification delegate Supposedly it tries to forward notifications to other previous delegates, but doesn't look like it's working |
Beta Was this translation helpful? Give feedback.
Yeah, that plugin has it's own notification delegate
https://github.com/mauron85/cordova-plugin-background-geolocation/blob/master/ios/CDVBackgroundGeolocation/CDVBackgroundGeolocation.m#L464-L466
Supposedly it tries to forward notifications to other previous delegates, but doesn't look like it's working