Overview

Using native APIs in your app

Introduction

Every app created in Appery.io comes with Apache Cordova library installed. Cordova is designed using plug-ins. Each plug-in 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) plug-ins 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 Plug-ins

Go to Resources > Cordova plugins > Core Cordova plugins to see the list of the preconfigured Appery.io plug-ins available from Cordova. Most plug-in docs can be found on Apache Cordova site.
Select the plug-in to get more information about it.

1255

Core Cordova plugins

Imported Cordova Plug-ins

Go to Resources > Cordova plugins > Imported Cordova plugins to see the list of the custom Cordova plug-ins that have been imported under your account and are ready to be used in your app:

1249

Imported Cordova plugins

More details about how to work with 3rd party Cordova plug-ins can be found here.

More Resources

A great resource to learn about Cordova: Introduction to Cordova: The Basics.