File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11# manUp
22
3+ ## [ 9.3.2]
4+
5+ - Launch url in external browser
6+
37## [ 9.3.1]
48
59- Fix update url not being passed to dialog callback
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ part of manup;
33/// Show app dialog based on manUp status
44mixin DialogMixin <T extends StatefulWidget > on State <T > {
55 Future <bool > _launchUrl (String uri) {
6- return canLaunchUrl (Uri .parse (uri)).then ((canLaunch) =>
7- canLaunch ? launchUrl (Uri .parse (uri)) : Future .value (canLaunch));
6+ return canLaunchUrl (Uri .parse (uri)).then ((canLaunch) => canLaunch
7+ ? launchUrl (Uri .parse (uri), mode: LaunchMode .externalApplication)
8+ : Future .value (canLaunch));
89 }
910
1011 /// Show an appropriate dialog for the given [ManUpStatus] . Can be overridden to show custom dialogs.
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.1
3+ version : 9.3.2
44homepage : https://github.com/NextFaze/flutter_manup
55
66environment :
You can’t perform that action at this time.
0 commit comments