Skip to content

Commit 0bc59c2

Browse files
Merge pull request #73 from Dekunledev/master
cleanup unused local variables
2 parents 1deee50 + 3ed7feb commit 0bc59c2

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

CHANGELOG.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
## [1.1.1] - April 10, 2025
2-
Changes include
3-
- Fixed broken package deployment action.
42

3+
Changes include
54

5+
- Fixed broken package deployment action.
66

77
## [1.1.0] | April 10, 2025
8+
89
Changes include:
10+
911
- Modified `Flutterwave.charge()` method to accept a BuildContext parameter.
1012
- Added context.mounted checks to prevent setState calls after widget disposal.
1113
- Enhanced success status check logic to handle different status values ("success" and "completed").
@@ -17,58 +19,58 @@ Changes include:
1719
- Removed unused dependencies: webview_flutter, modal_bottom_sheet and uuid.
1820
- Update deployment workflow.
1921

20-
21-
2222
## [1.0.7] - February, 2023
23+
2324
Changes include
25+
2426
- Fixed iOS bug where webview couldn't close when close buttons are clicked
2527
- Removed required `name` and `phone number` fields in `Customer` object
2628

27-
28-
2929
## [1.0.6] - October, 2022
30+
3031
Changes include:
32+
3133
- Fixed bug where transaction gets stuck after redirecting on webview
3234
- Fixed iOS build bug by removing inAppBrowser library
3335

34-
35-
3636
## [1.0.5] - October, 2022
37+
3738
Changes include:
39+
3840
- Fixed null when transaction is cancelled.
3941
- Removed modal pop up before launching web view.
4042
- Removed intermediate make payment screen before webview.
4143
- Deprecated FlutterwaveStyle.
4244
- Updated README file.
4345

44-
45-
4646
## [1.0.4] - July 4, 2022
47+
4748
Changes include:
49+
4850
- Renamed property `isDebug` to `isTestMode`
4951
- Made property `redirectUrl` required
5052
- Updated README file
5153

52-
53-
5454
## [1.0.3] - October 4, 2021.
55+
5556
Changes include:
56-
- Fixed issue with webview
5757

58-
58+
- Fixed issue with webview
5959

6060
## [1.0.2] - September 23, 2021.
61-
Changes include:
62-
- Fixed bug where cancel payment buttons are not clickable on iOS devices.
6361

62+
Changes include:
6463

64+
- Fixed bug where cancel payment buttons are not clickable on iOS devices.
6565

6666
## [1.0.1] - September 14, 2021.
67-
Changes include:
68-
- Fixed bug where response is not returned to initiating screen when user cancels transaction.
6967

68+
Changes include:
7069

70+
- Fixed bug where response is not returned to initiating screen when user cancels transaction.
7171

7272
## [1.0.0] - September 9, 2021.
73+
7374
Changes include:
75+
7476
- Initial release

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ packages:
254254
path: ".."
255255
relative: true
256256
source: path
257-
version: "1.0.7"
257+
version: "1.1.1"
258258
glob:
259259
dependency: transitive
260260
description:

lib/view/flutterwave_in_app_browser.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class FlutterwaveInAppBrowser extends InAppBrowser {
3333
_checkHasCompletedProcessing(final Uri uri) {
3434
final status = uri.queryParameters["status"];
3535
final txRef = uri.queryParameters["tx_ref"];
36-
final id = uri.queryParameters["transaction_id"];
3736
if (status != null && txRef != null) {
3837
_finish(uri);
3938
}

0 commit comments

Comments
 (0)