stopKioskMode function

Future<bool?> stopKioskMode()

On Android, stops the current task from being locked. On iOS, exits the Single App mode.

On Android, the result will always be null, as Activity.stopLockTask does not guaranteed that a task will be unlocked, or screen pinning will be stopped.

On iOS, the result will be true if the request was fulfilled, false - otherwise.

Implementation

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