1.1.7 • Published 2 months ago

react-native-zest v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

react-native-zest

Zest's SDK for react native

Installation

Depends on : react-native-webview
npm install react-native-webview / yarn add react-native-webview

To Install:
npm install react-native-zest
or
yarn add react-native-zest

Usage

import Zest from "react-native-zest";

// ...

<View style={{flex:1}}>
<Zest amountInMinor={'10000'} apiKey={'apiKey'} env={'test'}
                                customerEmail={'customerEmail'} description={'test'}
                                onComplete={(reference) => {
                                    //Handle successful transaction
                                }} onInitFailed={(reason) => {
//SDK failed to initialize
                                
}} />
</View>

N.B:

  1. Amount in minor means 100 should be passed as "10000"
  2. Currency default : NGN
  3. Env default : production
  4. Component should be wrapped in a view component occupying its intended space

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Copyright Zest Payments Limited 2023


Made with create-react-native-library

1.1.7

2 months ago

1.1.6

2 months ago

1.1.5

3 months ago

1.1.4

3 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

8 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago