Cordova
Getting started
Install the cordova plugin:
cordova plugin add akiles-cordova
The plugin defines a global akiles
object. Although the object is in the global scope, it is not available until after the deviceready
event.
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(akiles);
}
Card emulation
Follow both the Android and iOS guides to configure card emulation.
Note you need to call startCardEmulation()
on iOS only. On Android card emulation works system-wide, simply by having your app installed and the session added. You should check whether you’re on iOS or not in order to show/hide the “Start card emulation” button.
Demo app

The repo contains an SDK demo app that showcases all major SDK features:
- Session management: Add/remove member sessions using tokens
- Gadget actions: Open doors and control devices via internet or Bluetooth
- Hardware scanning: Discover nearby Akiles devices via Bluetooth
- Hardware sync: Update device firmware and configuration
- NFC card scanning: Read and update Akiles cards
- Card emulation: Start card emulation. (iOS only, on Android card emulation works in the background just by having the app installed)
The app displays real-time status updates for both internet and Bluetooth operations, making it easy to test different scenarios.