0.1.4 • Published 8 months ago
@portone/react-native-sdk v0.1.4
PortOne SDK for React Native
React Native 환경에서 포트원 V2 결제 시스템에 연동하기 위한 SDK입니다.
의존성
Node.js v18을 지원하며, Expo 51.0.38과 react-native-webview 13.8.6 환경에서 테스트되었습니다.
기술 지원
- tech.support@portone.io
설치
- Expo CLI를 사용해 @portone/react-native-sdk와 react-native-webview를 설치합니다.
expo install @portone/react-native-sdk react-native-webview
- app.json의 plugin 항목으로
@portone/react-native-sdk/plugin
를 추가합니다.
{
"expo": {
"plugins": ["@portone/react-native-sdk/plugin"]
}
}
사용법
import {
IdentityVerification,
IssueBillingKey,
IssueBillingKeyAndPay,
Payment,
PgIssueBillingKey,
PgPayment,
} from '@portone/react-native-sdk'
<Payment request={/* ... */} />
Made with create-react-native-library
Packages under portone-io/react-native-sdk are primarily distributed under the terms of both the Apache License (Version 2.0) and the MIT license. See COPYRIGHT for details.