Survey link launch issue fixed, Updated to Stores VersionID 9.1

master
haroon amjad 4 months ago
parent c57c22a58c
commit dcbf7b386a

@ -387,12 +387,15 @@ class _ITGAdsScreenState extends State<ITGAdsScreen> {
Navigator.pop(context); Navigator.pop(context);
} else { } else {
Uri uri = Uri.parse(advertisementData!.actionButtonsColl![index].iconOrImage); Uri uri = Uri.parse(advertisementData!.actionButtonsColl![index].iconOrImage);
if (await canLaunchUrl(uri)) { // if (await canLaunchUrl(uri)) {
await launchUrl(uri); await launchUrl(uri, mode: LaunchMode.externalApplication).catchError((err) {
Navigator.pop(context); // print(err);
} else {
Utils.showToast('Could not launch'); Utils.showToast('Could not launch');
} });
Navigator.pop(context);
// } else {
// Utils.showToast('Could not launch');
// }
} }
}, },
), ),

@ -16,8 +16,9 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
#version: 3.3.01+300040
version: 3.6.3+300073 version: 3.6.6+300076
#version: 3.8.999+2
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
@ -64,6 +65,7 @@ dependencies:
geolocator: ^11.1.0 geolocator: ^11.1.0
month_year_picker: ^0.2.0+1 month_year_picker: ^0.2.0+1
month_picker_dialog_2: ^0.5.5 month_picker_dialog_2: ^0.5.5
# month_picker_dialog: ^6.2.3
# open_file: ^3.2.1 # open_file: ^3.2.1
open_filex: ^4.4.0 open_filex: ^4.4.0
wifi_iot: ^0.3.19+1 wifi_iot: ^0.3.19+1

Loading…
Cancel
Save