React Native

Getting started

Add the akiles-react-native NPM package:

npm install akiles-react-native  # using NPM
yarn add akiles-react-native  # using Yarn

Then you can use it:

import akiles from 'akiles-react-native';

await akiles.addSession("mt_xxxxxxx");

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

Demo app screenshot

The repo contains an SDK demo app that showcases all major SDK features:

The app displays real-time status updates for both internet and Bluetooth operations, making it easy to test different scenarios.