wakelock_plus
Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, Linux, and web.
File Explorer
Download Latest Version (.zip)- checks.yml
- pana.yml
- CONTRIBUTING.md
- PULL_REQUEST_TEMPLATE.md
- Wakelock.kt
- WakelockPlusMessages.g.kt
- WakelockPlusPlugin.kt
- AndroidManifest.xml
- WakelockTest.kt
- .gitignore
- build.gradle
- settings.gradle
- AndroidManifest.xml
- MainActivity.kt
- launch_background.xml
- launch_background.xml
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- styles.xml
- styles.xml
- AndroidManifest.xml
- AndroidManifest.xml
- build.gradle
- gradle-wrapper.properties
- .gitignore
- build.gradle
- gradle.properties
- settings.gradle
- wakelock_plus_test.dart
- AppFrameworkInfo.plist
- Debug.xcconfig
- Release.xcconfig
- Contents.json
- Icon-App-1024x1024@1x.png
- Icon-App-20x20@1x.png
- Icon-App-20x20@2x.png
- Icon-App-20x20@3x.png
- Icon-App-29x29@1x.png
- Icon-App-29x29@2x.png
- Icon-App-29x29@3x.png
- Icon-App-40x40@1x.png
- Icon-App-40x40@2x.png
- Icon-App-40x40@3x.png
- Icon-App-60x60@2x.png
- Icon-App-60x60@3x.png
- Icon-App-76x76@1x.png
- Icon-App-76x76@2x.png
- Icon-App-83.5x83.5@2x.png
- Contents.json
- LaunchImage.png
- LaunchImage@2x.png
- LaunchImage@3x.png
- README.md
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- IDEWorkspaceChecks.plist
- WorkspaceSettings.xcsettings
- contents.xcworkspacedata
- Runner.xcscheme
- project.pbxproj
- IDEWorkspaceChecks.plist
- WorkspaceSettings.xcsettings
- contents.xcworkspacedata
- RunnerTests.m
- .gitignore
- Podfile
- Podfile.lock
- main.dart
- CMakeLists.txt
- generated_plugin_registrant.cc
- generated_plugin_registrant.h
- generated_plugins.cmake
- .gitignore
- CMakeLists.txt
- main.cc
- my_application.cc
- my_application.h
- Flutter-Debug.xcconfig
- Flutter-Release.xcconfig
- GeneratedPluginRegistrant.swift
- app_icon_1024.png
- app_icon_128.png
- app_icon_16.png
- app_icon_256.png
- app_icon_32.png
- app_icon_512.png
- app_icon_64.png
- Contents.json
- MainMenu.xib
- AppInfo.xcconfig
- Debug.xcconfig
- Release.xcconfig
- Warnings.xcconfig
- AppDelegate.swift
- DebugProfile.entitlements
- Info.plist
- MainFlutterWindow.swift
- Release.entitlements
- IDEWorkspaceChecks.plist
- Runner.xcscheme
- project.pbxproj
- IDEWorkspaceChecks.plist
- contents.xcworkspacedata
- RunnerTests.swift
- .gitignore
- Podfile
- Podfile.lock
- integration_test.dart
- Icon-192.png
- Icon-512.png
- Icon-maskable-192.png
- Icon-maskable-512.png
- favicon.png
- index.html
- manifest.json
- CMakeLists.txt
- generated_plugin_registrant.cc
- generated_plugin_registrant.h
- generated_plugins.cmake
- app_icon.ico
- CMakeLists.txt
- flutter_window.cpp
- flutter_window.h
- main.cpp
- resource.h
- runner.exe.manifest
- Runner.rc
- utils.cpp
- utils.h
- win32_window.cpp
- win32_window.h
- .gitignore
- CMakeLists.txt
- .gitignore
- analysis_options.yaml
- pubspec.yaml
- README.md
- messages.g.h
- UIApplication+idleTimerLock.h
- WakelockPlusPlugin.h
- PrivacyInfo.xcprivacy
- messages.g.m
- UIApplication+idleTimerLock.m
- WakelockPlusPlugin.m
- Package.swift
- .gitignore
- wakelock_plus.podspec
- no_sleep.js
- import_js_library.dart
- js_wakelock.dart
- wakelock_plus_io_plugin.dart
- wakelock_plus_linux_plugin.dart
- wakelock_plus_macos_plugin.dart
- wakelock_plus_web_plugin.dart
- wakelock_plus_windows_plugin.dart
- wakelock_plus.dart
- PrivacyInfo.xcprivacy
- WakelockPlusMacosPlugin.swift
- Package.swift
- wakelock_plus.podspec
- messages.dart
- wakelock_plus_linux_plugin_test.dart
- wakelock_plus_test.dart
- wakelock_plus_web_plugin_test.dart
- .gitignore
- analysis_options.yaml
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- method_channel_wakelock_plus.dart
- messages.g.dart
- wakelock_plus_platform_interface.dart
- messages.g.dart
- wakelock_plus_platform_interface_test.dart
- .gitignore
- analysis_options.yaml
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/fluttercommunity/wakelock_plus
Downloads the entire project code from GitHub to your computer.
cd wakelock_plus
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd wakelock_plus/android
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
