ionic-team / capacitor-plugins

Official plugins for Capacitor ⚡️
518 stars 583 forks source link

bug: Can't find variable: Notification on iOS #254

Closed jcesarmobile closed 3 years ago

jcesarmobile commented 4 years ago

When using LocalNotifications plugin on iOS (web), you'll get that error when trying to request permissions. Should be handled to return a proper error.

laaksomavrick commented 4 years ago

@jcesarmobile, can you suggest a workaround for the moment? Should we opt for using one of the cordova plug ins instead? At the moment, this bug causes local notifications on iOS to be broken, and it does not look like it will be supported from Safari's end for some time (https://caniuse.com/#search=Notification). Thanks for your time.

ionitron-bot[bot] commented 2 years ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.