@westpac-developer/react-native-core
v1.0.3
Published
Build custom payment flows in your native Android and iOS apps using [React Native](https://reactnative.dev/). This package provides low-level gateway APIs, native wallet payment request wrappers, and native payment button components.
Readme
Westpac React Native Core
Build custom payment flows in your native Android and iOS apps using React Native. This package provides low-level gateway APIs, native wallet payment request wrappers, and native payment button components.
Installation
Step 1: Resolve and download the package.
npm install @westpac-developer/react-native-core # Or yarn add @westpac-developer/react-native-coreStep 2: Install required peer dependencies.
yarn add react react-nativeStep 3: Link native modules for iOS.
cd ios && pod installStep 4: Android setup.
Android modules are auto-linked. Rebuild your Android app after installation.
cd android && ./gradlew cleanUsage
Getting Started
See Westpac QuickStream - React Native SDK.
Custom UI and Gateway APIs
Use QuickStreamGateway and PaywayGateway to create tokens and interact with Westpac payment gateways in headless/custom integrations.
Native Wallet Components
Render and drive Apple Pay and Google Pay flows using exported native components and payment request APIs.
SDK Reference
View the React Native SDK reference documentation for available functions, types, and components.
