Skip to content

Android setup

The plugin depends on Verisoul’s Android SDK and adds the required Maven repository in its Gradle file:

maven { url = uri("https://us-central1-maven.pkg.dev/verisoul/android") }

If your app cannot resolve ai.verisoul:android, add that repository to your root Gradle repositories.

The plugin manifest declares the required network permissions:

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />

After installing the plugin, sync Android:

Terminal window
npx cap sync android

Android exposes Verisoul touch-signal collection through recordTouchEvent():

import { Verisoul } from '@capgo/capacitor-verisoul';
await Verisoul.recordTouchEvent({
x: 120,
y: 240,
action: 'down',
});

If you are using Android setup to configure Verisoul, connect it with Getting Started for app integration, iOS setup for iOS parity, and @capgo/capacitor-verisoul for the API overview.