File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11# manUp
22
3+ ## [ 9.3.1]
4+
5+ - Fix update url not being passed to dialog callback
6+
37## [ 9.3.0]
48
59- Support ` firebase_remote_config ` v6 and ` firebase_analytics ` v12
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ mixin DialogMixin<T extends StatefulWidget> on State<T> {
1818 status: status,
1919 context: context,
2020 message: message,
21+ updateUrl: updateUrl,
2122 onUpdateConfirmed: (url) {
2223 _launchUrl (updateUrl! );
2324 },
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ class ManUpAppDialog {
5050 falseText: "Later" ,
5151 );
5252
53- if (confirmed == true ) {
54- onUpdateConfirmed (updateUrl! );
53+ if (confirmed == true && updateUrl != null ) {
54+ onUpdateConfirmed (updateUrl);
5555 }
5656 return confirmed ?? false ;
5757 case ManUpStatus .unsupported:
Original file line number Diff line number Diff line change @@ -420,10 +420,10 @@ packages:
420420 dependency: "direct main"
421421 description:
422422 name: meta
423- sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
423+ sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
424424 url: "https://pub.dev"
425425 source: hosted
426- version: "1.16 .0"
426+ version: "1.17 .0"
427427 mime:
428428 dependency: transitive
429429 description:
@@ -641,10 +641,10 @@ packages:
641641 dependency: transitive
642642 description:
643643 name: test_api
644- sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
644+ sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
645645 url: "https://pub.dev"
646646 source: hosted
647- version: "0.7.6 "
647+ version: "0.7.7 "
648648 timing:
649649 dependency: transitive
650650 description:
Original file line number Diff line number Diff line change 11name : manup
22description : Mandatory update for Flutter Apps that prompts or forces app update by querying a hosted JSON file.
3- version : 9.3.0
3+ version : 9.3.1
44homepage : https://github.com/NextFaze/flutter_manup
55
66environment :
You can’t perform that action at this time.
0 commit comments