Overview
Using native APIs in your app
Introduction
Every app created in Appery.io comes with Apache Cordova library installed. Cordova is designed using plugins. Each plugin provides JavaScript API to access specific native device API.
With Cordova, you can:
- Build a cross-platform hybrid mobile app. This app can be published to the App Store and Play Store.
- Invoke and access native device APIs such as the camera, battery, etc.
The latest Cordova version the platform currently supports (via the latest library versions):
- Cordova for Android 6.3.0.
- Cordova for iOS 4.5.1.
You may decide not to enable some of them (or unselect them all by clicking the corresponding button) in your project in order to decrease the app size. Only enabled (checked) plugins will be included in the binary application and be used for any target device type in events, services, etc.: Project > App settings > Cordova plugins > Core Cordova plugins/Imported Cordova plugins.
Core Cordova Plugins
Go to Resources > Cordova plugins > Core Cordova plugins to see the list of the preconfigured Appery.io plugins available from Cordova. Most plugin docs can be found on Apache Cordova site.
Select the plugin to get more information about it.
Imported Cordova Plugins
Go to Resources > Cordova plugins > Imported Cordova plugins to see the list of the custom Cordova plugins that have been imported under your account and are ready to be used in your app:
More details about how to work with 3rd party Cordova plugins can be found here.
More Resources
A great resource to learn about Cordova: Introduction to Cordova: The Basics.
Updated 8 days ago