In progress. A React Native package that wraps the native iOS and Android SDKs is
under development. This page will carry installation, usage and configuration once it
ships.Talk to your chmod account manager if you need it for a planned integration — timelines
are set against real demand.
In the meantime
The native SDKs work in a React Native app today through a bridge you own. The flow is launched from the native side and the outcome is sent back to JavaScript. You would need:1
Install both native SDKs
Follow iOS installation and
Android installation in the
ios/ and android/
directories of your app.2
Write a native module on each platform
One method that takes the
sdkToken, launches the flow, and resolves a promise with
the outcome. On Android the launch has to go through an ActivityResultContract
registered on the host activity; on iOS it presents from the root view controller.3
Map the result
Convert
completed / cancelled / failed and the failure code into a plain object
your JavaScript can switch on.Meanwhile
iOS SDK
Available now.
Android SDK
Available now.

