PackageTrack
Sign in Get early access

wakelock

Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, macOS, Windows, and web.

0.6.2 12K downloads/mo #2743 most downloaded on pub.dev creativecreatorormaybenot/wakelock

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 4 months

Nearly every release is documented

notes for 49 of 49 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

54 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

54 releases · Jul 2019 to Jul 2022
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 54
  1. 0.6.2 07 Jul 2022
    Release notes

    Fixing android build problem on Flutter 2.10 (#174)

    * Bumped compileSdkVersion and Kotlin version

    * Updated pubspec and CHANGELOG

    Open source →
    Release notes
    • Fixed Android build issues.
    Open source →
  2. 0.6.1 19 Jan 2022
    Release notes

    Release 0.6.1 (#166)

    * Update pubspec.yaml

    * Update CHANGELOG.md

    Open source →
    Release notes
    • Fixed infinite loop on iOS.
    Open source →
  3. 0.6.1+1 26 Jan 2022
    Release notes
    • Documented necessity of ensuring that the WidgetsBinding is initialized.
    Open source →
  4. 0.6.1+2 06 Mar 2022
    Release notes

    Recommend to not call `Wakelock.enable()` inside of `main()` (#171)

    * Update pubspec.yaml

    * Update README.md

    * Update CHANGELOG.md

    Open source →
    Release notes
    • Documented the recommendation of not calling Wakelock.enable() directly inside of main().
    Open source →
  5. 0.6.0+1 11 Jan 2022
    Release notes
    • Remove Podfiles from example directory.
    Open source →
  6. 0.5.6 14 Sep 2021
    Release notes

    Fix constraints on updated platform interface (#149)

    * Fix platform interface incompatibility

    * Stage

    * Update deps

    Open source →
    Release notes
    • Fixed platform interface incompatibility by bumping the version constraint.
    Open source →
  7. 0.5.5 14 Sep 2021
    Release notes

    Fix wakelock on iOS (#143)

    * Update CHANGELOG

    * Fix wakelock on iOS

    Open source →
    Release notes
    • Fixed iOS API by updating the method signatures to match the newly generated protocol.
    Open source →
  8. 0.5.4 10 Sep 2021
    Release notes
    • Upgraded pigeon and lints.
    Open source →
  9. 0.5.3 04 Aug 2021
    Release notes
    • Removed Jcenter from Gradle build as has been sunset.
    Open source →
  10. 0.5.3+1 04 Aug 2021
    Release notes
    • Addded mavenCentral to Gradle build.
    Open source →
  11. 0.5.3+2 05 Aug 2021
    Release notes
    • Removed empty constructor in Android code.
    Open source →
  12. 0.5.3+3 05 Aug 2021
    Release notes
    • Updated GitHub references to use main instead of master.
    Open source →
  13. 0.5.2 14 May 2021
    Release notes
    • Updated generated message handling.
    • Updated generated messages in the platform interface, which fixed calling setMockMessageHandler.
    • Updated wakelock_ dependencies with updated Dart SDK constraints (>=2.12.0).
    Open source →
  14. 0.5.1 17 Apr 2021
    Release notes
    • Resolved a crash on iOS which was caused by 2 observers on idleTimerDisabled.
    Open source →
  15. 0.5.1+1 10 May 2021
    Release notes
    • Added Podspec to the wakelock package to avoid build issues on macOS.
    Open source →
  16. 0.5.0 06 Mar 2021
    Release notes
    • Added Windows support 🚀
    Open source →
  17. 0.5.0+1 07 Mar 2021
    Release notes
    • Fixed broken web builds due to FFI imports.
    Open source →
  18. 0.5.0+2 07 Mar 2021
    Release notes
    • Fixed example app builds on macOS.
    Open source →
  19. 0.4.0 24 Feb 2021
    Release notes
    • Bumped to stable null safety release.
    Open source →
  20. 0.4.0-nullsafety.0 18 Jan 2021 pre-release
    Release notes
    • Added macOS support 🚀
    Open source →
  21. 0.3.0-nullsafety.3 12 Jan 2021 pre-release
    Release notes
    • Add supported platforms to README.
    Open source →
  22. 0.3.0-nullsafety.2 07 Jan 2021 pre-release
    Release notes
    • Indicated that no permissions are required for using the wakelock plugin in the README.
    Open source →
  23. 0.3.0-nullsafety.1 01 Dec 2020 pre-release
    Release notes
    • Fixed UIImagePickerController disabling the wakelock (using the camera on iOS).
    Open source →
  24. 0.3.0-nullsafety.0 29 Nov 2020 pre-release
    Release notes
    • Migrated to null safety.
    • Breaking: removed deprecated isEnabled and on in toggle.
    Open source →
  25. 0.2.1 25 Oct 2020
    Release notes

    Bump win32 version (#183)

    * Bump win32 version

    * Update wakelock_windows/CHANGELOG.md

    Co-authored-by: creativecreatorormaybenot <[email protected]>

    Open source →
    Release notes
    • Rewrote messages to stay as Java code and use 1.8 JVM target in order to allow interop with Kotlin. This fixes Android build errors.
    Open source →
  26. 0.2.1+1 08 Nov 2020
    Release notes
    • Fixed Android build warning (import_js_library) by bumping wakelock_web.
    Open source →
  27. 0.2.0 04 Oct 2020
    Release notes
    • Added web support.
    • Overhauled the plugin with the latest Flutter standards.
    • Implemented federated plugin approach, adding wakelock_platform_interface and wakelock_web dependencies.
    • Removed support for the Android v1 APIs.
    • Deprecated Wakelock.isEnabled in favor of Wakelock.enabled. The fact that it is a getter should be enough and remove the need for the "is" context.
    • Deprecated the on parameter in Wakelock.toggle in favor of the enable parameter, which should be a more descriptive name.
    Open source →
  28. 0.2.0+1 05 Oct 2020
    Release notes
    • Fixed iOS build issue by bumping the wakelock_web dependency.
    Open source →
  29. 0.2.0+2 24 Oct 2020
    Release notes
    • Bumped pigeon to 0.1.14.
    Open source →
  30. 0.1.4 19 Mar 2020
    Release notes
    • Added assertion for on in Wakelock.toggle to be non-null and @required annotation. This is not a breaking change since it was logically required before.
    • Switched from Java to Kotlin for the Android implementation.
    • Updated plugin files to the latest Flutter standards.
    • Updated structure to ignore unnecessary files.
    • Added unit testing.
    • Improved the integration tests to make use of the example app.
    • Updated example app.
    • Added GitHub actions and removed Travis CI.
    • Made CHANGELOG.md formulations more consistent.
    • Updated year in LICENSE.
    • Enforced pedantic lint rules.
    Open source →
  31. 0.1.4+1 22 Mar 2020
    Release notes
    • Finished migration to new Flutter plugin embedding.
    • Fixed missing activity on Android for apps using the old plugin embedding.
    • Lowered Flutter SDK version constraint to 1.12.0.
    Open source →
  32. 0.1.4+2 03 Jul 2020
    Release notes
    • Fixed Gradle builds missing NonNull annotation.
    Open source →
  33. 0.1.3 25 Sep 2019
    Release notes
    • Completed AndroidX migration.
    Open source →
  34. 0.1.3+1 11 Dec 2019
    Release notes
    • Updated pubspec.yaml to match new format.
    Open source →
  35. 0.1.3+2 11 Dec 2019
    Release notes
    • Fixed pubspec.yaml.
    Open source →
  36. 0.1.3+3 11 Dec 2019
    Release notes
    • Fixed Flutter SDK version constraint.
    Open source →
  37. 0.1.3+4 22 Jan 2020
    Release notes
    • Fixed iOS simulator issue.
    Open source →
  38. 0.1.2 07 Jul 2019
    Release notes
    • Changed Wakelock.toggle's parameter to a named parameter.
    • Improved iOS implementation.
    Open source →
  39. 0.1.2+1 07 Jul 2019
    Release notes
    • Added integration testing.
    • Removed unnecessary Android Manifest permission.
    • Added a contributing guide.
    • Added CI.
    Open source →
  40. 0.1.2+2 07 Jul 2019
    Release notes
    • Updated description.
    • Flutter master is used in integration tests now.
    Open source →
  41. 0.1.2+3 08 Jul 2019
    Release notes
    • Improved Travis CI setup.
    • Updated badges.
    Open source →
  42. 0.1.2+4 08 Jul 2019
    Release notes
    • Updated the example's README.
    Open source →
  43. 0.1.2+5 09 Jul 2019
    Release notes
    • Expanded continuous integration to include format checking and code analysis.
    Open source →
  44. 0.1.2+6 24 Jul 2019
    Release notes
    • Cleaned up the Android manifest.
    • Changed a test name in test_driver.
    • Updated the plugin description.
    • Updated README.md.
    • Updated CONTRIBUTING.md.
    • Updated .travis.yml.
    • Removed unnecessary Assets directory from the ios folder.
    Open source →
  45. 0.1.2+7 24 Jul 2019
    Release notes
    • Formatted AndroidManifest.xml.
    Open source →
  46. 0.1.2+8 06 Aug 2019
    Release notes
    • Updated documentation.
    Open source →
  47. 0.1.1 07 Jul 2019
    Release notes
    • Renamed functions.
    • Improved README.
    Open source →
  48. 0.1.1+1 07 Jul 2019
    Release notes
    • Elaborated a bit more in description.
    Open source →
  49. 0.1.1+2 07 Jul 2019
    Release notes
    • Made the plugin description more concise.
    Open source →
  50. 0.1.0 07 Jul 2019
    Release notes
    • Bumped version to indicate that the plugin is fully usable.
    • Improved README's.
    • Formatted Dart files.
    Open source →
  51. 0.1.0+1 07 Jul 2019
    Release notes
    • Fixed dependency issue.
    • Removed unnecessary dependencies.
    Open source →
  52. 0.1.0+2 07 Jul 2019
    Release notes
    • Improved README.
    • Removed unnecessary files.
    Open source →
  53. 0.1.0+3 07 Jul 2019
    Release notes
    • Added wakelock permission in Android Manifest.
    Open source →
  54. 0.0.1 07 Jul 2019
    Release notes
    • Initial version.
    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