keep_screen_on_platform_interface
This plugin disables automatic screen off and prevents the screen from turning off.
3.0.0
44K downloads/mo
#1549 most downloaded on pub.dev
craftsoft-dev/flutter_keep_screen_on
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.5 years
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
4 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
4 releases · Sep 2020 to Oct 2023
2021
2022
2023
2024
2025
2026
Releases
latest 4-
3.0.022 Oct 2023Release notes
Open source →- Breaking change. Changed arguments for turnOn methods from positional parameters to named parameters.(Changed
turnOn(false)toturnOn(on: false).) - Breaking change. Changed the minimum Android SDK version to 19.
- Breaking change. Changed the minimum iOS version to 11.0.
- Breaking change. Changed the minimum version of Flutter to 3.10.0.
- (Android only) Added the withAllowLockWhileScreenOn parameter to the turnOn and turnOff methods so that the FLAG_ALLOW_LOCK_WHILE_SCREEN_ON flag can be set at the same time on Android OS.
- (Android only) Added addAllowLockWhileScreenOn, clearAllowLockWhileScreenOn, isAllowLockWhileScreenOn methods to manipulate the FLAG_ALLOW_LOCK_WHILE_SCREEN_ON flag.
- (Android only) Adjusted so that it can be built with "Gradle 8".
Full Changelog: v2.1.0...v3.0.0
Release notes
Open source →- Breaking change. Changed arguments for turnOn methods from positional parameters to named parameters.(Changed
turnOn(false)toturnOn(on: false).) - Breaking change. Changed the minimum version of Flutter to 3.10.0.
- (Android only) Added the withAllowLockWhileScreenOn parameter to the turnOn and turnOff methods so that the FLAG_ALLOW_LOCK_WHILE_SCREEN_ON flag can be set at the same time on Android OS.
- (Android only) Added addAllowLockWhileScreenOn, clearAllowLockWhileScreenOn, isAllowLockWhileScreenOn methods to manipulate the FLAG_ALLOW_LOCK_WHILE_SCREEN_ON flag.
- Breaking change. Changed arguments for turnOn methods from positional parameters to named parameters.(Changed
-
2.0.020 Jun 2021 -
2.0.0+120 Jun 2021 -
1.0.020 Sep 2020