Capacitor v3: Make plugins usable for native code #3222
BorntraegerMarc
started this conversation in
Ideas
Replies: 2 comments 7 replies
-
Agreed. The core/official plugins are being split out and refactored (see #3227). It's a shift in how plugins are developed, for sure. We plan to have the main plugin class be native-first and then have a layer for communicating with the web view that uses it, as opposed to all the logic being in the layer and forsaking native. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you provide more information about what you need and why current implementation is not good for you? At the moment you can get a plugin like this to use it's methods On Android
On iOS
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On our side there is a need to use plugins from native code.
To give an example:
LocalNotification
plugin in our ionic app to trigger notificationsIdeally we'd like to use the
LocalNotification
plugin in our custom code so we can use the same parameters as we use in our ionic app. To ensure the notification style is always the same -> Whether one is triggered from ionic or custom native code.The same concept applies for other plugins like AES encryption capacitor plugins -> We want to use the same encryption code from our web app & the custom native code.
Beta Was this translation helpful? Give feedback.
All reactions