PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 4
  1. 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 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.
    Open source →
  2. 2.0.0 20 Jun 2021
    Release notes

    Migrate to null safety.

    Open source →
    Release notes
    • Migrate to null safety.
    Open source →
  3. 2.0.0+1 20 Jun 2021
    Release notes
    • Fixed the name mistake in the README.md.
    Open source →
  4. 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