Skip to content

Commit 7c76dee

Browse files
committed
Changes for 1.3.0
1 parent ce57bde commit 7c76dee

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1+
## 1.0.3
2+
* Fixed issue with using disposed context(#26)
3+
* Removed hardcoded currency text in the checkout prompt (#30)
4+
* Fixed issue where plugin crashes app in headless service (#31)
5+
* Converted charge metadata to json format (thanks to Itope84)
6+
* Fixed issue with validating past months
7+
* Added option to hide email and/or amount in checkout prompt
8+
* Made the example main.dart more usable
9+
* Wrote unit tests and widget tests
10+
111
## 1.0.2+1
212

3-
* Corrected typo
13+
* Corrected typo in "Secured by" text
414

515
## 1.0.2
616

lib/src/api/service/base_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mixin BaseApiService {
1111
'X-Paystack-Build': PlatformInfo().paystackBuild,
1212
'X-PAYSTACK-USER-AGENT':
1313
jsonEncode({'lang': Platform.isIOS ? 'objective-c' : 'kotlin'}),
14-
'bindings_version': "1.0.2+1", // TODO: Update for every new versions
14+
'bindings_version': "1.3.0", // TODO: Update for every new versions
1515
'X-FLUTTER-USER-AGENT': jsonEncode({'version': '1.0.0'})
1616
};
1717
final String baseUrl = 'https://standard.paystack.co';

pubspec.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_paystack
22
description: A Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS.
3-
version: 1.0.2+1
3+
version: 1.0.3
44
author: Wilberforce Uwadiegwu <faradaywilly@gmail.com>
55
homepage: https://github.com/wilburt/flutter_paystack
66

@@ -21,8 +21,12 @@ dev_dependencies:
2121

2222
flutter:
2323
plugin:
24-
androidPackage: co.paystack.flutterpaystack
25-
pluginClass: FlutterPaystackPlugin
24+
platforms:
25+
android:
26+
package: io.flutter.plugins.webviewflutter
27+
pluginClass: WebViewFlutterPlugin
28+
ios:
29+
pluginClass: FLTWebViewFlutterPlugin
2630

2731
assets:
2832
- assets/images/
@@ -31,4 +35,4 @@ flutter:
3135

3236
environment:
3337
sdk: ">=2.2.2 <3.0.0"
34-
flutter: ">=0.5.1 <2.0.0"
38+
flutter: ">=1.10.0 <2.0.0"

0 commit comments

Comments
 (0)