0.1.5 • Published 1 year ago

react-native-sumup-ios v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-sumup-ios

Support SumUp on iOS (Bridge to use the SumUp SDK)

Installation

npm install react-native-sumup-ios

or

yarn add react-native-sumup-ios

iOS

npx pod-install

Android

in progress...

Usage

import SumUpModule from 'react-native-sumup-ios';

Set up Affiliate Key

await SumUpModule.init(affiliateKey);
const isSDKIntegrated = await SumUpModule.testSDKIntegration();

Check login

const isLogin = await SumUpModule.checkLogin();

Prepare for checkout; wake up device, connection

const isLogin = await SumUpModule.prepareForCheckout();

Login with View Controller

await SumUpModule.loginWithViewController();

Login with access token

await SumUpModule.loginWithToken(accessToken);
await SumUpModule.checkout(checkoutRequest);

See https://github.com/sumup/sumup-ios-sdk to get more information about SumUpSDK.

0.1.5

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago