requestFullScreenIntentPermission method

Future<bool?> requestFullScreenIntentPermission()

Requests the permission to send/use full-screen intents.

Returns whether the permission was granted.

Use this when your application requires the USE_FULL_SCREEN_INTENT permission and targets Android 14 or higher. The reason for this is that the permission is granted by default. However, applications that do not have calling or alarm functionalities have the permission revoked by the Google Play Store. See here for official Android documentation.

Implementation

Future<bool?> requestFullScreenIntentPermission() async =>
    _channel.invokeMethod<bool>('requestFullScreenIntentPermission');