From fed40bd07dc96c736246162e531c1b6320b2ebfc Mon Sep 17 00:00:00 2001 From: dekunledev Date: Thu, 10 Apr 2025 13:07:09 +0100 Subject: [PATCH 1/2] update workflows to latest flutter version --- .github/workflows/change-review.yml | 8 +++----- .github/workflows/package-publish.yml | 4 ++-- CHANGELOG.md | 2 +- README.md | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/change-review.yml b/.github/workflows/change-review.yml index 016b3b1..ce2046e 100644 --- a/.github/workflows/change-review.yml +++ b/.github/workflows/change-review.yml @@ -1,9 +1,8 @@ - name: Review changes on Dev (Commits/PRs) on: push: - branches: ['dev'] + branches: ["dev"] pull_request: types: - opened @@ -15,11 +14,11 @@ jobs: steps: - name: checkout code uses: actions/checkout@v2 - + - name: setup flutter environment uses: subosito/flutter-action@v2 with: - flutter-version: '3.0.0' + flutter-version: "3.29.2" - name: install flutter dependencies run: flutter pub get @@ -48,4 +47,3 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} MATRIX_CONTEXT: ${{ toJson(matrix) }} if: always() - diff --git a/.github/workflows/package-publish.yml b/.github/workflows/package-publish.yml index 7992fb2..f550647 100644 --- a/.github/workflows/package-publish.yml +++ b/.github/workflows/package-publish.yml @@ -29,7 +29,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} MATRIX_CONTEXT: ${{ toJson(matrix) }} if: always() - + publish: needs: check-readme-and-changelog runs-on: ubuntu-latest @@ -40,7 +40,7 @@ jobs: - name: setup flutter environment uses: subosito/flutter-action@v2 with: - flutter-version: '3.0.0' + flutter-version: "3.29.2" - name: install flutter dependencies run: flutter pub get diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e68f3c..f944c7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ - Improved error handling and state management. - Removed deprecated components: `flutterwave_style.dart` and `standard_webview.dart`. - Updated SDK requirements to `>=2.17.0`. -- Upgraded dependencies to latest versions. +- Upgraded dependencies to the latest versions. - Removed unused dependencies: webview_flutter, modal_bottom_sheet and uuid. ## [1.0.7] - February, 2023 diff --git a/README.md b/README.md index 510e5ad..dd64be3 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Available features include: - Collections: Card, Account, Mobile money, Bank Transfers, USSD. - Recurring payments: Tokenization and Subscriptions. -- Split payments +- Split payments. ## Table of Contents From 0f85d242fc2763043eba96bb200854cfa394aff2 Mon Sep 17 00:00:00 2001 From: dekunledev Date: Thu, 10 Apr 2025 13:11:20 +0100 Subject: [PATCH 2/2] updates to the example app --- CHANGELOG.md | 2 +- README.md | 2 +- example/lib/main.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f944c7b..27164a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - Enhanced success status check logic to handle different status values ("success" and "completed"). - Improved error handling and state management. - Removed deprecated components: `flutterwave_style.dart` and `standard_webview.dart`. -- Updated SDK requirements to `>=2.17.0`. +- Updated the SDK requirements to `>=2.17.0`. - Upgraded dependencies to the latest versions. - Removed unused dependencies: webview_flutter, modal_bottom_sheet and uuid. diff --git a/README.md b/README.md index dd64be3..47c6334 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Available features include: 1. Flutterwave for business [API Keys](https://developer.flutterwave.com/docs/integration-guides/authentication) 2. Supported Flutter version >= 1.17.0 3. Dart SDK >= 2.17.0 -4. For Android: Ensure NDK version >= 27.0.12077973 on your project's android/app/build.gradle.kts file with android { ndkVersion = "27.0.12077973" } +4. For Android: Ensure the NDK version >= 27.0.12077973 on your project's android/app/build.gradle.kts file with android { ndkVersion = "27.0.12077973" } ## Installation diff --git a/example/lib/main.dart b/example/lib/main.dart index e3be1c9..5c115ba 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -162,7 +162,7 @@ class _MyHomePageState extends State { ); final Flutterwave flutterwave = Flutterwave( - publicKey: "YOUR_SECRET_KEY", // Input your public key + publicKey: "YOUR_PUBLIC_KEY", // Input your public key currency: selectedCurrency, amount: amountController.text.toString().trim(), customer: customer,