diff --git a/CHANGELOG.md b/CHANGELOG.md index d3e6c292..cf2196b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/src/api/service/base_service.dart b/lib/src/api/service/base_service.dart index dd801495..b5b6b3df 100644 --- a/lib/src/api/service/base_service.dart +++ b/lib/src/api/service/base_service.dart @@ -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'; diff --git a/pubspec.yaml b/pubspec.yaml index 7a3265f8..9ee7454d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 homepage: https://github.com/wilburt/flutter_paystack @@ -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/ @@ -31,4 +35,4 @@ flutter: environment: sdk: ">=2.2.2 <3.0.0" - flutter: ">=0.5.1 <2.0.0" \ No newline at end of file + flutter: ">=1.10.0 <2.0.0" \ No newline at end of file