From dcbf7b386a611266bb251e829591ea87ddf85d93 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Mon, 7 Jul 2025 13:00:58 +0300 Subject: [PATCH] Survey link launch issue fixed, Updated to Stores VersionID 9.1 --- lib/ui/landing/itg/its_add_screen_video_image.dart | 13 ++++++++----- pubspec.yaml | 6 ++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/ui/landing/itg/its_add_screen_video_image.dart b/lib/ui/landing/itg/its_add_screen_video_image.dart index 99911b9..103fde1 100644 --- a/lib/ui/landing/itg/its_add_screen_video_image.dart +++ b/lib/ui/landing/itg/its_add_screen_video_image.dart @@ -387,12 +387,15 @@ class _ITGAdsScreenState extends State { Navigator.pop(context); } else { Uri uri = Uri.parse(advertisementData!.actionButtonsColl![index].iconOrImage); - if (await canLaunchUrl(uri)) { - await launchUrl(uri); - Navigator.pop(context); - } else { + // if (await canLaunchUrl(uri)) { + await launchUrl(uri, mode: LaunchMode.externalApplication).catchError((err) { + // print(err); Utils.showToast('Could not launch'); - } + }); + Navigator.pop(context); + // } else { + // Utils.showToast('Could not launch'); + // } } }, ), diff --git a/pubspec.yaml b/pubspec.yaml index f4f08b1..9f35f3b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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. # Read more about iOS versioning at # 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: sdk: ">=2.16.0 <3.0.0" @@ -64,6 +65,7 @@ dependencies: geolocator: ^11.1.0 month_year_picker: ^0.2.0+1 month_picker_dialog_2: ^0.5.5 +# month_picker_dialog: ^6.2.3 # open_file: ^3.2.1 open_filex: ^4.4.0 wifi_iot: ^0.3.19+1