I have implemented my own plugin for capacitor, which I only use in a single app. So the plugin is integrated in the app itself and is not installed via npm.
After upgrading from capactior 5 to 6 I get now this error message in the logs:
Error: "IDnow" plugin is not implemented on ios
(IDnow is the name of my plugin)
I didn't change anything in the plugin code and the plugin works fine on android. And If I switch back to capacitor 5, the plugin works fine again.
Has anything changed for custom plugins on iOS?
Expected Behavior
My plugin should work with capactior 5 and 6 without changing the plugin code.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/ios: 6.0.0
Installed Dependencies:
@capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/ios: 6.0.0
[success] iOS looking great! 👌 [success] Android looking great! 👌
Other API Details
No response
Platforms Affected
Current Behavior
I have implemented my own plugin for capacitor, which I only use in a single app. So the plugin is integrated in the app itself and is not installed via npm.
After upgrading from capactior 5 to 6 I get now this error message in the logs: Error: "IDnow" plugin is not implemented on ios
(IDnow is the name of my plugin)
I didn't change anything in the plugin code and the plugin works fine on android. And If I switch back to capacitor 5, the plugin works fine again.
Has anything changed for custom plugins on iOS?
Expected Behavior
My plugin should work with capactior 5 and 6 without changing the plugin code.
Project Reproduction
Question without reproduction
Additional Information
Content of IDnowPlugin.m:
Content of IDnowPlugin.swift:
I followed those 2 guides for the plugin implementation: https://capacitorjs.com/docs/ios/custom-code https://capacitorjs.com/docs/plugins/tutorial/ios-implementation