ionic-team / capacitor-docs

https://capacitorjs.com/docs
Apache License 2.0
25 stars 223 forks source link

Angular production mode and Capacitor 6 plugins throw error code UNIMPLEMENTED on iOS #325

Closed xbisa closed 3 months ago

xbisa commented 3 months ago

Describe the bug I'm using local-notifications and toast Capacitor plugins v6 in my iOS app. Works for development, test and staging Angular configurations.

To reproduce Steps to reproduce the behavior: You need an Angular app v17, add Capacitor to it, install an NPM Capacitor plugin (e.g. add local-notifications and call the API method await LocalNotifications.requestPermissions() on init), build your Angular app for production, make a simulation build for iOS.

Expected behavior Capacitor plugins are enabled.

**Browser and OS

Additional context No problems on Android

jcesarmobile commented 3 months ago

This is the documentation repository, doesn't look like a problem with the documentation.

Create a new issue on https://github.com/ionic-team/capacitor/issues and please, provide a sample app that reproduces the issue

faguilera85 commented 3 months ago

I'm facing the same issue with "@capacitor-community/admob": "^6.0.0". When I call await AdMob.initialize(); I get {"code":"UNIMPLEMENTED"} in the Xcode logs using the simulator on iPhone 15 Pro (iOS 17.4). I really need help to understand how to proceed please, I've been blocked for more than a week already.

nocteryals commented 2 months ago

I am experimenting the same issue @faguilera85 did you find a solution?

jhonnathanH commented 1 month ago

I have the same issue.. I had a custom plugin in capacitor 5 now in capacitor 6, I get this error UNIMPLEMENTED

anyone know how to link/register the plugin in capacitor 6??.. the doc it's wrong

nocteryals commented 1 month ago

On my side i solved the issue moving to capacitor 5 again. anything more works.