How to create a Capacitor plugin for iOS/Android
This video provides an overview of the process for creating a Capacitor plugin to access native iOS or Android functionality from a web-based application (Ionic or anything else).
0:00 Generating a Plugin
1:44 Setting up the Interface
3:46 Implementing iOS Functionality
7:35 Implementing Android Functionality
9:59 Building the Plugin
More resources on building Capacitor plugins:
- Displaying a native list: https://www.youtube.com/watch?v=W5DV-TYLaLI
- Displaying native views: https://www.joshmorony.com/how-to-launch-native-views-in-an-ionic-application/
Using a Capacitor plugin locally: https://www.joshmorony.com/how-to-launch-native-views-in-an-ionic-application/
Publishing to npm: https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry
#ionic #capacitor #native
- Check out my Ionic books: https://www.joshmorony.com/books/?utm_source=youtube
- More tutorials: https://www.joshmorony.com/
- Follow me on Twitter: https://twitter.com/joshuamorony