An introduction to native device features | Aquro Help Center

Working with native device features/hardware can be crucial to giving users a great experience.

In Aquro, we have easy access to many of these features built right in, and they're based upon a set of Cordova plugins.

You can work with these features easily and quickly by using our built-in Visual Coding blocks, but you are welcome to work directly with these features by using the various Cordova plugins.

Depending on what type of native feature you are trying to implement you can find more information about how to use them here.

 

Before you begin

Before you begin using native features, it is important to note that these native features are not by default included in all apps, they have to be added manually into your app by activating them in your build settings before releasing your app to the App Stores (more info on this here). However, if you're using Visual Coding blocks, the required features will be activated automatically as needed.

It's also worth pointing out that device features are activated slightly after your app loads. Therefore, if you are using a device feature right after the app starts, you should ensure that the device features already have been loaded. Using Visual Coding, this could be accomplished by using the Device.WaitForGetReady coding block, which will wait until all device features have been successfully loaded. 

If you are writing your own JavaScript instead, you can read more about device events here: http://cordova.apache.org/docs/en/6.x/cordova/events/events.html