PackageTrack
Sign in Get early access

keep_screen_on

This plugin disables automatic screen off and prevents the screen from turning off.

6.0.0 44K downloads/mo #1550 most downloaded on pub.dev craftsoft-dev/flutter_keep_screen_on

What this package is like to depend on

Last release 3 months ago

16 May 2026

Ships on a steady schedule

a new release about every 10 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

7 releases · first in 2020

2 releases in the last 12 months

see the full history below

Release timeline

7 releases · Sep 2020 to May 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 6.0.0 16 May 2026
    Release notes
    • Breaking change. Changed the minimum version of Flutter to 3.41.0.
    • (iOS only) Added Swift Package Manager support.
    • (Android only) Update Java compatibility version to 17.
    Open source →
    Release notes
    • Breaking change. Changed the minimum version of Flutter to 3.41.0.
    • (iOS only) Added Swift Package Manager support.
    • (Android only) Update Java compatibility version to 17.
    Open source →
  2. 5.0.0 13 Sep 2025
    Release notes
    • Breaking change. (Android only) Changed "compileSdk" in the build.gradle file from 33 to flutter.compileSdkVersion.
    • Breaking change. (Android only) Changed the "sourceCompatibility", "targetCompatibility", and "jvmTarget" settings in the build.gradle file to 11.

    Full Changelog: v4.0.0...v5.0.0

    Open source →
    Release notes
    • Breaking change. (Android only) Changed "compileSdk" in the build.gradle file from 33 to flutter.compileSdkVersion.
    • Breaking change. (Android only) Changed the "sourceCompatibility", "targetCompatibility", and "jvmTarget" settings in the build.gradle file to 11.
    Open source →
  3. 4.0.0 20 Feb 2025
    Release notes

    Breaking change. (Android only) Deleted references to Android v1 embedding.

    Full Changelog: v3.0.0...v4.0.0

    Open source →
    Release notes
    • Breaking change. (Android only) Deleted references to Android v1 embedding.
    Open source →
  4. 3.0.0 22 Oct 2023
    Release notes
    • Breaking change. Changed arguments for turnOn methods from positional parameters to named parameters.(Changed turnOn(false) to turnOn(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

    Open source →
    Release notes
    • Breaking change. Changed arguments for turnOn methods from positional parameters to named parameters.(Changed turnOn(false) to turnOn(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".
    Open source →
  5. 2.1.0 06 Nov 2022
    Release notes

    Migrating to Kotlin 1.7.20 and Gradle 7.3.1.

    Open source →
    Release notes
    • Migrating to Kotlin 1.7.20 and Gradle 7.3.1.
    Open source →
  6. 2.0.0 20 Jun 2021
    Release notes

    Migrate to null safety.

    Open source →
    Release notes
    • Migrate to null safety.
    Open source →
  7. 1.0.0 20 Sep 2020
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive