# Android React Wrapper



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/Android-React-Wrapper-2/Android-React-Wrapper-2.html
- Imported at: 2026-10-21T17:27:01.149Z
- Canonical page: https://docs.idmission.com/mobile/android-react-wrapper-2-android-react-wrapper-2-html
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="setup"></a>

# Android React Wrapper

Integrate IDmission's IDentity SDK into your Android React Native application.

## Setup

1. 1

   Set up the React Native development environment based on your development and target OS.

   [Setting up the development environment →](https://reactnative.dev/docs/environment-setup)

2. 2

   Download and unzip the ReactNativeResources archive. It contains the `react-native`, `android_resources`, `reference`, and `android_code` directories.

   [Download ReactNativeSDK2AndroidResources →](https://drive.google.com/file/d/1n38qEvfpX0AjYhqNJiYfGjKCODTeEOke/view?usp=sharing)

3. 3

   Create an empty React Native application.

   ShellCopy

   ```
   npx @react-native-community/cli init IDMTest
   ```

4. 4

   Add JavaScript code. Copy and paste the contents of the `react-native` folder into the main project folder. Overwrite files if required.

5. 5

   Add React Native dependencies. In `package.json`, update the `dependencies` node with the following.

   JSONCopy

   ```
   "dependencies": {
     "@react-native/new-app-screen": "0.83.1",
     "@react-navigation/native": "^7.1.28",
     "@react-navigation/native-stack": "^7.12.0",
     "@react-navigation/stack": "^7.7.1",
     "native-base": "^3.4.28",
     "react": "19.2.0",
     "react-dom": "^19.2.0",
     "react-native": "0.83.1",
     "react-native-gesture-handler": "^1.9.0",
     "react-native-safe-area-context": "^5.6.2",
     "react-native-screens": "^4.23.0",
     "react-native-svg": "^15.15.3"
   },
   ```

6. 6

   Delete the `node_modules` folder, then rebuild the application.

   ShellCopy

   ```
   npm install
   ```

7. 7

   Open the `android` directory in Android Studio.

8. 8

   Add Android code and resources.

   - Add files from the `android_code` directory. Overwrite if required.
   - Overwrite the main `build.gradle` file with the one from `android_resources`.

9. 9

   Modify the app project's `build.gradle` (see the `reference` directory for an example). Add the following dependency.

   GradleCopy

   ```
   implementation 'com.idmission.sdk2:idmission-mediumsdk:11.1.07.2.23'
   ```

10. 10

    Click **Sync Now** in Android Studio to sync the Gradle files.

11. 11

    Build and run the Android app.

    ShellCopy

    ```
    npx react-native run-android --port=8081
    ```

<a id="available-functions"></a>

## Available Functions

The following functions are available after initializing the SDK.

InitIDMissionSDK.initializeSDK

Initializes the SDK. Must be called before any other function.

JavaScriptCopy

```
IDMissionSDK.initializeSDK(String apiBaseUrl, String authUrl, String debug, String accessToken)
```

ServiceIDMissionSDK.serviceID20

Initiates the **ID Validation** (Service ID 20) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID20()
```

ServiceIDMissionSDK.serviceID10

Initiates the **ID Validation and Match Face** (Service ID 10) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID10()
```

ServiceIDMissionSDK.serviceID185

Initiates the **Identify Customer** (Service ID 185) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID185()
```

ServiceIDMissionSDK.serviceID660

Initiates the **Live Face Check** (Service ID 660) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID660()
```

ServiceIDMissionSDK.serviceID50

Initiates the **ID Validation and Customer Enroll** (Service ID 50) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID50(String uniqueCustomerNumber)
```

ServiceIDMissionSDK.serviceID175

Initiates the **Customer Enroll Biometrics** (Service ID 175) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID175(String uniqueCustomerNumber)
```

ServiceIDMissionSDK.serviceID105

Initiates the **Customer Verification** (Service ID 105) flow.

JavaScriptCopy

```
IDMissionSDK.serviceID105(String uniqueCustomerNumber)
```

SubmitIDMissionSDK.submitResult

Submits the form and finalizes the current service flow.

JavaScriptCopy

```
IDMissionSDK.submitResult()
```
