@oobit/react-native-sdk
v3.1.0
Published
React Native SDK for integrating Oobit crypto payments into wallet apps
Downloads
408
Readme
@oobit/react-native-sdk
A React Native SDK that enables wallet apps to integrate Oobit's crypto-to-card payment services.
Installation
npm install @oobit/react-native-sdk react-native-webviewQuick Start
import { WidgetSDK } from "@oobit/react-native-sdk";
function PaymentScreen() {
return (
<WidgetSDK
accessToken="prod_your-jwt-token"
userWalletAddress="0x1234..."
onTransactionRequested={(transaction) => {
// Navigate to your transaction confirmation screen
navigation.navigate("ConfirmTransaction", { transaction });
}}
onClose={() => navigation.goBack()}
/>
);
}Documentation
For complete documentation, guides, and API reference, visit:
- Getting Started - Installation and setup
- Component Reference - Props and methods
- Handling Transactions - Transaction flow guide
- TypeScript Types - Type definitions
License
MIT © Oobit
