Integrating on mobile
While we do not currently provide native SDKs for mobile platforms, you can still easily integrate our widget into your mobile application using a WebView component.
There are two main approaches:
- Use Payment Links to generate a URL that can be loaded in a WebView;
- Create your own page with our Web SDKs embedded and load that URL in a WebView.
For the following examples, we will use the first approach by using this Payment Link: https://track.swipelux.com?api-key=YOUR_PUBLISHABLE_API_KEY&blank=true
.
iOS
Important
On iOS and other Apple platforms, ensure allowsInlineMediaPlayback
is set to true in the WebView configuration to enable proper document submission during KYC verification.
Android
For Android, you can use the WebView
component to load the Payment Link:
React Native
For React Native, you can use the WebView
component from react-native-webview
.
Flutter
For Flutter, you can use the webview_flutter
package:
For more advanced use cases or if you encounter any issues, you can create your own web page with our Web SDK embedded and load that URL in the WebView instead of using Payment Links directly.