Skip to content

Commit

Permalink
Changes for 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wilburx9 committed Jan 22, 2020
1 parent ce57bde commit 7c76dee
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
## 1.0.3
* Fixed issue with using disposed context(#26)
* Removed hardcoded currency text in the checkout prompt (#30)
* Fixed issue where plugin crashes app in headless service (#31)
* Converted charge metadata to json format (thanks to Itope84)
* Fixed issue with validating past months
* Added option to hide email and/or amount in checkout prompt
* Made the example main.dart more usable
* Wrote unit tests and widget tests

## 1.0.2+1

* Corrected typo
* Corrected typo in "Secured by" text

## 1.0.2

Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/service/base_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mixin BaseApiService {
'X-Paystack-Build': PlatformInfo().paystackBuild,
'X-PAYSTACK-USER-AGENT':
jsonEncode({'lang': Platform.isIOS ? 'objective-c' : 'kotlin'}),
'bindings_version': "1.0.2+1", // TODO: Update for every new versions
'bindings_version': "1.3.0", // TODO: Update for every new versions
'X-FLUTTER-USER-AGENT': jsonEncode({'version': '1.0.0'})
};
final String baseUrl = 'https://standard.paystack.co';
Expand Down
12 changes: 8 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_paystack
description: A Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS.
version: 1.0.2+1
version: 1.0.3
author: Wilberforce Uwadiegwu <[email protected]>
homepage: https://github.com/wilburt/flutter_paystack

Expand All @@ -21,8 +21,12 @@ dev_dependencies:

flutter:
plugin:
androidPackage: co.paystack.flutterpaystack
pluginClass: FlutterPaystackPlugin
platforms:
android:
package: io.flutter.plugins.webviewflutter
pluginClass: WebViewFlutterPlugin
ios:
pluginClass: FLTWebViewFlutterPlugin

assets:
- assets/images/
Expand All @@ -31,4 +35,4 @@ flutter:

environment:
sdk: ">=2.2.2 <3.0.0"
flutter: ">=0.5.1 <2.0.0"
flutter: ">=1.10.0 <2.0.0"

0 comments on commit 7c76dee

Please sign in to comment.