From 11d063c4b80b1a643b80731a24dee06253bcdfcc Mon Sep 17 00:00:00 2001 From: Montcho Shegun Date: Thu, 2 Nov 2023 10:32:19 +0100 Subject: [PATCH] review readme and changelog --- .flutter-plugins-dependencies | 2 +- CHANGELOG.md | 6 + README.md | 155 ++++++++++++++------------ example/.flutter-plugins-dependencies | 2 +- example/lib/main.dart | 32 +++--- example/pubspec.lock | 38 +++---- lib/src/widget_builder_view.dart | 14 ++- pubspec.lock | 40 +++---- pubspec.yaml | 2 +- 9 files changed, 163 insertions(+), 128 deletions(-) diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index abf4cb9..8f95f08 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"url_launcher_ios","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.5/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.9.1/","native_build":true,"dependencies":[]}],"android":[{"name":"url_launcher_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_android-6.1.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_android-3.12.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"url_launcher_macos","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.7/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.6/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.8/","native_build":true,"dependencies":[]}],"web":[{"name":"url_launcher_web","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.20/","dependencies":[]}]},"dependencyGraph":[{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-10-23 10:15:16.891876","version":"3.13.7"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"url_launcher_ios","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.9.2/","native_build":true,"dependencies":[]}],"android":[{"name":"url_launcher_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_android-6.2.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_android-3.12.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"url_launcher_macos","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_macos-3.1.0/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.0/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.0/","native_build":true,"dependencies":[]}],"web":[{"name":"url_launcher_web","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_web-2.2.0/","dependencies":[]}]},"dependencyGraph":[{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-11-02 10:31:19.134667","version":"3.13.7"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e85b2dd..a465c3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.2.7 + +- Update all plugin dependencies +- Review example project +- Review readme + ## 1.2.6 - Set sandbox as required diff --git a/README.md b/README.md index b5e95e5..928e01d 100644 --- a/README.md +++ b/README.md @@ -28,18 +28,18 @@ dependencies: ```dart final kkiapay = KKiaPay( @required callback: Function(Map response, BuildContext context), - @required amount: String, - @required apikey: String, - @required sandbox: bool, - data: String, - phone: String, - name: String, - reason: String, - email: String, - theme: dynamic, - countries: List, - partnerId: String, - paymentMethods: List + @required amount: int, // Ex : 1000 + @required apikey: String, // Ex : XXXX_public_api_key_XXX + @required sandbox: bool, // Ex : true + data: String, // Ex : 'Big data' + phone: String, // Ex : "22961000000" + name: String, // Ex : "John Doe" + reason: String, // Ex : "transaction reason" + email: String, // Ex : "email@mail.com" + theme: String, // Ex : "#222F5A" + countries: List, // Ex : ["CI"] + partnerId: String, // Ex : 'AxXxXXxId' + paymentMethods: List // Ex : ["momo","card"] ); ``` @@ -53,91 +53,108 @@ Navigator.push(context, MaterialPageRoute(builder: (context) => kkiapay), ## Example ```dart -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -import 'package:kkiapay_flutter_sdk/kkiapay/src/widget_builder_view.dart'; -import 'package:kkiapay_flutter_sdk/kkiapayWeb/web_widget_builder.dart'; +import 'package:kkiapay_flutter_sdk/src/widget_builder_view.dart'; import 'package:kkiapay_flutter_sdk/utils/config.dart'; - +import './successScreen.dart'; void main() => runApp(App()); void successCallback(response, context) { Navigator.pop(context); - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SuccessScreen( - amount: response['requestData']['amount'], - transactionId: response['transactionId'] - )), - ); + + switch ( response['status'] ) { + + case PAYMENT_CANCELLED: print(PAYMENT_CANCELLED); + break; + + case PAYMENT_SUCCESS: + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => SuccessScreen( + amount: response['requestData']['amount'], + transactionId: response['transactionId'], + ), + ), + ); + break; + + case PAYMENT_FAILED: print(PAYMENT_FAILED); + break; + + default: + break; + } } final kkiapay = KKiaPay( - amount: 100, - countries: ["BJ"], - phone: "22961000000", - name: "John Doe", - email: "email@mail.com", - reason: 'transaction reason', - data: 'Fake data', - sandbox: true, - apikey: 'XXXXXXXXXXXXXXXXXXXXXX', - callback: successCallback, + amount: 1000,// + countries: ["BJ"],// + phone: "22961000000",// + name: "John Doe",// + email: "email@mail.com",// + reason: 'transaction reason',// + data: 'Fake data',// + sandbox: true,// + apikey: public_api_key,// + callback: successCallback,// theme: defaultTheme, // Ex : "#222F5A", - partnerId: 'AxXxXXxId', - paymentMethods: ["momo","card"] + partnerId: 'AxXxXXxId',// + paymentMethods: ["momo","card"]// ); class App extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - home: Scaffold( - appBar: AppBar( - title: Text('Kkiapay Sample'), - centerTitle: true, + debugShowCheckedModeBanner: false, + home: Scaffold( + appBar: AppBar( + backgroundColor: nColorPrimary, + title: Text('Kkiapay Sample'), + centerTitle: true, + ), + body: KkiapaySample(), ), - body: KkiapaySample(), - )); + ); } } class KkiapaySample extends StatelessWidget { const KkiapaySample({ - Key key, + Key? key, }) : super(key: key); @override Widget build(BuildContext context) { return Center( - child: - ButtonTheme( - minWidth: 500.0, - height: 100.0, - child: TextButton( - style: ButtonStyle( - backgroundColor: MaterialStateProperty.all(Color(0xff222F5A)), - foregroundColor: MaterialStateProperty.all(Colors.white), - ), - child: Text( - 'Pay Now', - style: TextStyle(color: Colors.white), - ), - onPressed: () { - if (kIsWeb) { - KKiaPayWeb.pay(kkiapay, (response) { - successCallback(response, context); - }); - } else { - Navigator.push(context, - MaterialPageRoute(builder: (context) => kkiapay), - ); - } - }, - ), - ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + ButtonTheme( + minWidth: 500.0, + height: 100.0, + child: TextButton( + style: ButtonStyle( + backgroundColor: MaterialStateProperty.all(Color(0xff222F5A)), + foregroundColor: MaterialStateProperty.all(Colors.white), + ), + child: const Text( + 'Pay Now', + style: TextStyle(color: Colors.white), + ), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) => kkiapay), + ); + }, + ), + ) + ], + ) ); } } diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies index 5b31d70..e843e97 100644 --- a/example/.flutter-plugins-dependencies +++ b/example/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"url_launcher_ios","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.5/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.9.1/","native_build":true,"dependencies":[]}],"android":[{"name":"url_launcher_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_android-6.1.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_android-3.12.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"url_launcher_macos","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.7/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.6/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.8/","native_build":true,"dependencies":[]}],"web":[{"name":"url_launcher_web","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.20/","dependencies":[]}]},"dependencyGraph":[{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-10-23 10:15:16.934505","version":"3.13.7"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"url_launcher_ios","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.9.2/","native_build":true,"dependencies":[]}],"android":[{"name":"url_launcher_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_android-6.2.0/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/webview_flutter_android-3.12.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"url_launcher_macos","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_macos-3.1.0/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.0/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.0/","native_build":true,"dependencies":[]}],"web":[{"name":"url_launcher_web","path":"/Users/shegunmontcho/.pub-cache/hosted/pub.dev/url_launcher_web-2.2.0/","dependencies":[]}]},"dependencyGraph":[{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-11-02 10:31:19.275852","version":"3.13.7"} \ No newline at end of file diff --git a/example/lib/main.dart b/example/lib/main.dart index 8414df8..7d8ed2d 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -33,20 +33,20 @@ void successCallback(response, context) { } } -final kkiapay = KKiaPay( - amount: 1000,// - countries: ["BJ"],// - phone: "22961000000",// - name: "John Doe",// - email: "email@mail.com",// - reason: 'transaction reason',// - data: 'Fake data',// - sandbox: true,// - apikey: public_api_key,// - callback: successCallback,// - theme: defaultTheme, // Ex : "#222F5A", - partnerId: 'AxXxXXxId',// - paymentMethods: ["momo","card"]// +const kkiapay = KKiaPay( + amount: 1000, + countries: ["BJ"], + phone: "22961000000", + name: "John Doe", + email: "email@mail.com", + reason: 'transaction reason', + data: 'Fake data', + sandbox: true, + apikey: public_api_key, + callback: successCallback, + theme: defaultTheme, + partnerId: 'AxXxXXxId', + paymentMethods: ["momo","card"] ); class App extends StatelessWidget { @@ -57,10 +57,10 @@ class App extends StatelessWidget { home: Scaffold( appBar: AppBar( backgroundColor: nColorPrimary, - title: Text('Kkiapay Sample'), + title: const Text('Kkiapay Sample'), centerTitle: true, ), - body: KkiapaySample(), + body: const KkiapaySample(), ), ); } diff --git a/example/pubspec.lock b/example/pubspec.lock index 7718ef2..d19e996 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -126,7 +126,7 @@ packages: path: ".." relative: true source: path - version: "1.2.6" + version: "1.2.7" lints: dependency: transitive description: @@ -288,66 +288,66 @@ packages: dependency: transitive description: name: url_launcher - sha256: "47e208a6711459d813ba18af120d9663c20bdf6985d6ad39fe165d2538378d27" + sha256: b1c9e98774adf8820c96fbc7ae3601231d324a7d5ebd8babe27b6dfac91357ba url: "https://pub.dev" source: hosted - version: "6.1.14" + version: "6.2.1" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: b04af59516ab45762b2ca6da40fa830d72d0f6045cd97744450b73493fa76330 + sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.2.0" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "7c65021d5dee51813d652357bc65b8dd4a6177082a9966bc8ba6ee477baa795f" + sha256: "4ac97281cf60e2e8c5cc703b2b28528f9b50c8f7cebc71df6bdf0845f647268a" url: "https://pub.dev" source: hosted - version: "6.1.5" + version: "6.2.0" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: b651aad005e0cb06a01dbd84b428a301916dc75f0e7ea6165f80057fee2d8e8e + sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.1.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: b55486791f666e62e0e8ff825e58a023fd6b1f71c49926483f1128d3bbd8fe88 + sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "3.1.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "95465b39f83bfe95fcb9d174829d6476216f2d548b79c38ab2506e0458787618" + sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50" url: "https://pub.dev" source: hosted - version: "2.1.5" + version: "2.2.0" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "2942294a500b4fa0b918685aff406773ba0a4cd34b7f42198742a94083020ce5" + sha256: "7fd2f55fe86cea2897b963e864dc01a7eb0719ecc65fcef4c1cc3d686d718bb2" url: "https://pub.dev" source: hosted - version: "2.0.20" + version: "2.2.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "95fef3129dc7cfaba2bc3d5ba2e16063bb561fc6d78e63eee16162bc70029069" + sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.1.0" vector_math: dependency: transitive description: @@ -392,10 +392,10 @@ packages: dependency: transitive description: name: webview_flutter_wkwebview - sha256: "30b9af6bdd457b44c08748b9190d23208b5165357cc2eb57914fee1366c42974" + sha256: b4b42295b3aa91ed22ba6d3dd7de56efbb8f3ab3d6e41d8b1615d13537c7801d url: "https://pub.dev" source: hosted - version: "3.9.1" + version: "3.9.2" sdks: dart: ">=3.1.3 <4.0.0" flutter: ">=3.13.0" diff --git a/lib/src/widget_builder_view.dart b/lib/src/widget_builder_view.dart index dfea826..75a77df 100644 --- a/lib/src/widget_builder_view.dart +++ b/lib/src/widget_builder_view.dart @@ -11,18 +11,25 @@ class KKiaPay extends StackedView { /* Payment info */ /// @Params: Payment amount + /// Ex : 1000 final int amount; /// @Params : Payment reason + /// Ex : "transaction reason" final String reason; /// @Params : Payment phoneNumber + /// Ex : "22961000000" final String? phone; /// @Params : Payment owner + /// Ex : "John Doe" final String? name; /// @Params email : Payment owner address mail + /// Ex : "email@mail.com" final String? email; /// @Params : Payment data send by webhook + /// Ex : 'Big data' final String? data; /// @Params partnerId : Your application payment reference + /// Ex : 'AxXxXXxId' final String? partnerId; /// @Params : Payment callback final Function(Map, BuildContext) callback; @@ -30,14 +37,19 @@ class KKiaPay extends StackedView { /* Widget ui config */ /// @Params : Your public api key according to [sandbox] value + /// Ex : XXXX_public_api_key_XXX final String apikey; /// @Params : Payment environment according to [apikey] value + /// Ex : true final bool? sandbox; - /// @Params : Widget authorized countries + /// @Params : Widget UI theme + /// Ex : "#222F5A" final String? theme; /// @Params : Widget authorized countries + /// Ex : ["CI"] final List? countries; /// @Params : Widget authorized payment paymentMethods + /// Ex : ["momo","card"] final List? paymentMethods; diff --git a/pubspec.lock b/pubspec.lock index 0412a84..6377d9e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -101,10 +101,10 @@ packages: dependency: transitive description: name: built_value - sha256: a8de5955205b4d1dbbbc267daddf2178bd737e4bab8987c04a500478c9651e74 + sha256: "723b4021e903217dfc445ec4cf5b42e27975aece1fc4ebbc1ca6329c2d9fb54e" url: "https://pub.dev" source: hosted - version: "8.6.3" + version: "8.7.0" characters: dependency: transitive description: @@ -593,66 +593,66 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "47e208a6711459d813ba18af120d9663c20bdf6985d6ad39fe165d2538378d27" + sha256: b1c9e98774adf8820c96fbc7ae3601231d324a7d5ebd8babe27b6dfac91357ba url: "https://pub.dev" source: hosted - version: "6.1.14" + version: "6.2.1" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: b04af59516ab45762b2ca6da40fa830d72d0f6045cd97744450b73493fa76330 + sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.2.0" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "7c65021d5dee51813d652357bc65b8dd4a6177082a9966bc8ba6ee477baa795f" + sha256: "4ac97281cf60e2e8c5cc703b2b28528f9b50c8f7cebc71df6bdf0845f647268a" url: "https://pub.dev" source: hosted - version: "6.1.5" + version: "6.2.0" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: b651aad005e0cb06a01dbd84b428a301916dc75f0e7ea6165f80057fee2d8e8e + sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.1.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: b55486791f666e62e0e8ff825e58a023fd6b1f71c49926483f1128d3bbd8fe88 + sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "3.1.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "95465b39f83bfe95fcb9d174829d6476216f2d548b79c38ab2506e0458787618" + sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50" url: "https://pub.dev" source: hosted - version: "2.1.5" + version: "2.2.0" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "2942294a500b4fa0b918685aff406773ba0a4cd34b7f42198742a94083020ce5" + sha256: "7fd2f55fe86cea2897b963e864dc01a7eb0719ecc65fcef4c1cc3d686d718bb2" url: "https://pub.dev" source: hosted - version: "2.0.20" + version: "2.2.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "95fef3129dc7cfaba2bc3d5ba2e16063bb561fc6d78e63eee16162bc70029069" + sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.1.0" vector_math: dependency: transitive description: @@ -713,10 +713,10 @@ packages: dependency: transitive description: name: webview_flutter_wkwebview - sha256: "30b9af6bdd457b44c08748b9190d23208b5165357cc2eb57914fee1366c42974" + sha256: b4b42295b3aa91ed22ba6d3dd7de56efbb8f3ab3d6e41d8b1615d13537c7801d url: "https://pub.dev" source: hosted - version: "3.9.1" + version: "3.9.2" yaml: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 81458f6..0b849a6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: kkiapay_flutter_sdk description: KKiaPay allows businesses to safely receive payments by mobile money, credit card and bank account. -version: 1.2.6 +version: 1.2.7 homepage: "https://kkiapay.me/" environment: