npm: @kkhay/react-nativev1.0.4Expo & Bare RN Compatible
React Native & Expo SDK
The official React Native & Expo mobile payment gateway SDK. Features one-tap mobile wallet deep linking (MetaMask, Trust Wallet, Phantom, Rainbow), retina-sharp vector SVG QR codes, and zero native CocoaPods / C++ compilation required.
1. Installation
Install in React Native or Expo
$npx expo install @kkhay/react-native react-native-svg
2. Mobile Checkout Modal (<KkhayModal />)
App.tsx
import React, { useState } from "react"import { View, Button, Text } from "react-native"import { KkhayModal } from "@kkhay/react-native" export default function App() { const [modalVisible, setModalVisible] = useState(false) return ( <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}> <Button title="Pay with Crypto" onPress={() => setModalVisible(true)} /> <KkhayModal visible={modalVisible} apiKey="kkhay_live_YOUR_KEY" amount={29.99} currency="USD" orderId="MOB-1002" onClose={() => setModalVisible(false)} onPaymentSuccess={(invoice) => { setModalVisible(false) alert("Payment verified on-chain!") }} /> </View> )}