Flutterwave / React-Native

React Native library for Flutterwave for Business (F4B) v2 and v3 APIs.
https://developer.flutterwave.com/
MIT License
6 stars 13 forks source link

V3 api #2

Closed thecodecafe closed 4 years ago

thecodecafe commented 4 years ago

This branch's main purpose was to implement the v3 API, although several other things followed, at the core, it was for implementing the v3 API.

Here are the things you will find in this branch.

  1. FlutterwaveButton has been renamed to PayWithFlutterwave.
  2. PayWithFlutterwave uses the v3 AP by default so I in order so to use the v2 API variant you will need to import PayWithFlutterwaveV2.
  3. FlutterwaveInit uses the v3 API by default so in order to use the v2 API variant you will need to import FlutterwaveInitV2.
  4. DefaultButton has been changed to FlutterwaveButton.
  5. The contribution guide has been rewritten to something that is simple and that works.
  6. The default documentation is for v3 API.
  7. The ReadMe makes reference to the v2 API ReadMe, there is a v2 API variant of every doc page
  8. Tests have been rewritten for the V2 and V3 components and function.

We initially planned to support only v3 API going forward but then decided to structure the library in such a way we can still render support for those still on the v2 API just in case we have bugs and fixes that needed to be made in the future.