openAppStoreV1 method
Implementation
Future<void> openAppStoreV1() async {
if (_appStoreListingURL == null || _appStoreListingURL!.isEmpty) {
return;
}
if (await canLaunchUrl(Uri.parse(_appStoreListingURL!))) {
try {
await launchUrl(
Uri.parse(_appStoreListingURL!),
mode: updateSystem.isAndroid
? LaunchMode.externalNonBrowserApplication
: LaunchMode.platformDefault,
);
} catch (e) {
if (kDebugMode) {
print('----- Error sendUserToAppStore $e');
}
}
}
}