React Native SDK
Official Autlantic Billing mobile Checkout presenter for React Native. Part of the Autlantic Payments SDK · Languages.
USDC on Base · never put API keys or webhook secrets in the app.
Source: sdks/react-native. Package: @autlantic/checkout 0.1.0.
- iOS:
ASWebAuthenticationSession - Android: Chrome Custom Tabs (
androidx.browser:browser:1.8.0) - Classic
NativeModules(New Architecture optional)
Install
bash
npm install @autlantic/checkout
cd ios && pod installRequires a custom native build (not Expo Go).
API
ts
import AutlanticCheckout from '@autlantic/checkout';
const result = await AutlanticCheckout.present(checkoutUrl, {
returnUrlScheme: 'myapp',
});
// { status: 'completed' | 'canceled' | 'failed', callbackUrl?: string, error?: string }| Piece | Role |
|---|---|
AutlanticCheckout.present(checkoutUrl, { returnUrlScheme }) | Opens hosted checkout |
Result status | completed / canceled / failed |
On Android, Custom Tabs launch resolves as completed without callbackUrl; configure deep links in the host app, then poll your backend.
Backend contract
Same as iOS/Android/Flutter: server creates session → app presents URL → webhook unlocks → app polls your API.
Sample: examples/mobile-checkout (pnpm example:mobile).