You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Run the following command `npm run set-example`.
27
27
28
-
Following these steps will result in you building and copy the built version of the library in the following directory `/Users/your-name/projects/example-project/src/react-native-flutterwave`, you can then go ahead an import the library from within your example project from the location the library has been copied to.
28
+
Following these steps will result in you building and copy the built version of the library in the following directory `/Users/your-name/projects/example-project/src/flutterwave-react-native`, you can then go ahead an import the library from within your example project from the location the library has been copied to.
29
29
30
30
### Writting Tests
31
31
We currently don't have strict rules for writting tests but when writting one be sure to make your tests and their captions clear and coincise, test only what you added, and then follow up with the dependencies if need be.
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Easily implement Flutterwave for payments in your React Native appliction. This
47
47
This version of the library's docs focuses on use cases with the Version 3 of Flutterwaves API, if you are still using the Version 2 API please use [this documentation](./README.v2.md) instead.
48
48
49
49
## Installation
50
-
This library is available on npm, you can install it by running `npm install --save react-native-flutterwave` or `yarn add react-native-flutterwave`
50
+
This library is available on npm, you can install it by running `npm install --save flutterwave-react-native` or `yarn add flutterwave-react-native`
51
51
52
52
### Dependencies
53
53
In order to render the Flutterwave checkout screen this library depends on [react-native-webview](https://github.com/react-native-community/react-native-webview) ensure you properly install this library before continuing.
@@ -79,10 +79,10 @@ Below are a few examples showcasing how you can use the library to implement pay
79
79
80
80
[View All Props](#flutterwavebuttonprops)
81
81
82
-
Import `PayWithFlutterwave` from `react-native-flutterwave` and use it like so.
82
+
Import `PayWithFlutterwave` from `flutterwave-react-native` and use it like so.
@@ -146,9 +146,9 @@ import {FlutterwaveButton} from 'react-native-flutterwave';
146
146
### FlutterwaveInit
147
147
When called, this function returns a Promise which resolves to a string on success and rejects if an error occurs. [See all config options](#flutterwaveinitoptions)
148
148
149
-
Import `FlutterwaveInit` from `react-native-flutterwave` and use it like so.
149
+
Import `FlutterwaveInit` from `flutterwave-react-native` and use it like so.
Copy file name to clipboardExpand all lines: README.v2.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Easily implement Flutterwave for payments in your React Native appliction. This
44
44
This version of the library's docs focuses on use cases with the Version 2 of Flutterwaves API, if you are using the Version 3 API please use [this documentation](./README.md) instead.
45
45
46
46
## Installation
47
-
This library is available on npm, you can install it by running `npm install --save react-native-flutterwave` or `yarn add react-native-flutterwave`
47
+
This library is available on npm, you can install it by running `npm install --save flutterwave-react-native` or `yarn add flutterwave-react-native`
48
48
49
49
### Dependencies
50
50
In order to render the Flutterwave checkout screen this library depends on [react-native-webview](https://github.com/react-native-community/react-native-webview) ensure you properly install this library before continuing.
@@ -76,10 +76,10 @@ Below are a few examples showcasing how you can use the library to implement pay
76
76
77
77
[View All Props](#flutterwavebuttonprops)
78
78
79
-
Import `PayWithFlutterwaveV2` from `react-native-flutterwave` and use it like so.
79
+
Import `PayWithFlutterwaveV2` from `flutterwave-react-native` and use it like so.
@@ -140,10 +140,10 @@ import {FlutterwaveButton} from 'react-native-flutterwave';
140
140
### FlutterwaveInitV2
141
141
When called, this function returns a Promise which resolves to a string on success and rejects if an error occurs. [See all config options](#flutterwaveinitv2options)
142
142
143
-
Import `FlutterwaveInitV2` from `react-native-flutterwave` and use it like so.
143
+
Import `FlutterwaveInitV2` from `flutterwave-react-native` and use it like so.
0 commit comments