react native webview sdk
npm install transfi-ramp-react-native-sdk
import { TransfiRampReactNativeSdkView } from "transfi-ramp-react-native-sdk";
// ...
<TransfiRampReactNativeSdkView
styles={styles.webview}
source={{ uri: 'https://buy.transfi.com/?apiKey=[YOUR_API_KEY]' }}
javaScriptEnabled={true}
messagingEnabled={true}
domStorageEnabled={true}
onMessage={(event) => {
console.log('event', event?.nativeEvent?.data);
}}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library