shouldShowPermissionRationale method
Indicates whether an explanation should be shown to the user (Temporarily denied)
Implementation
@override
Future<bool> shouldShowPermissionRationale() async {
if (Platform.isIOS) {
// On iOS, the permissions are not required for USSD, so we can return false.
return false;
}
final bool? show = await methodChannel.invokeMethod(
'shouldShowPermissionRationale',
);
return show ?? false;
}