Compare commits

...

2 Commits

@ -387,12 +387,15 @@ class _ITGAdsScreenState extends State<ITGAdsScreen> {
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');
// }
}
},
),

@ -61,7 +61,7 @@ dependencies:
platform_device_id: ^1.0.1
image_picker: ^0.8.5+3
file_picker: 5.2.5
geolocator: ^9.0.2
geolocator: ^11.1.0
month_year_picker: ^0.2.0+1
month_picker_dialog_2: ^0.5.5
# open_file: ^3.2.1

Loading…
Cancel
Save