The Transak React Native integration allows you to embed a fully functional interface directly into your React Native application.
Google Pay works only with the Transak React Native SDK integration for mobile applications.
Fastest way to integrate Transak in Expo and non-Expo apps with built-in callbacks and event support.
Direct WebView-based integration using react-native-webview.
Official Transak SDK with built-in event handling, callbacks, and simplified camera permissions for both Expo and Non-Expo implementations.
Install the Transak SDK based on your project setup.
Install the React Native SDK:
Install required peer dependencies:
Call the Create Widget URL API from your backend to generate a secure widget url using
The response returns a widgetUrl that should be used in the transakConfig prop.
A widgetUrl is valid for 5 minutes and can only be used once. A new widgetUrl must be generated for every user flow.
Example Request:
Component Props
For teams that prefer managing the WebView directly, you can use the react-native-webview library.
Import and render the WebView with the Transak widget URL:
These props should not be passed for Apple Pay to function properly.
sharedCookiesEnabled
injectedJavaScript
injectedJavaScriptBeforeContentLoaded
Call the Create Widget URL API from your backend to generate a secure widget url using
The response returns a widgetUrl that should be used as the source URL in the WebView.
A widgetUrl is valid for 5 minutes and can only be used once. A new widgetUrl must be generated for every user flow.
Example Request: