wakelock
Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, and web.
File Explorer
Download Latest Version (.zip)- CONTRIBUTING.md
- FUNDING.yml
- PULL_REQUEST_TEMPLATE.md
- gradle-wrapper.properties
- Messages.java
- Wakelock.kt
- WakelockPlugin.kt
- AndroidManifest.xml
- .gitignore
- build.gradle
- gradle.properties
- settings.gradle
- AndroidManifest.xml
- launch_background.xml
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- styles.xml
- AndroidManifest.xml
- AndroidManifest.xml
- build.gradle
- gradle-wrapper.properties
- .gitignore
- build.gradle
- gradle.properties
- settings.gradle
- wakelock_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.swift
- Info.plist
- Runner-Bridging-Header.h
- IDEWorkspaceChecks.plist
- WorkspaceSettings.xcsettings
- contents.xcworkspacedata
- Runner.xcscheme
- project.pbxproj
- IDEWorkspaceChecks.plist
- WorkspaceSettings.xcsettings
- contents.xcworkspacedata
- .gitignore
- main.dart
- Flutter-Debug.xcconfig
- Flutter-Release.xcconfig
- 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
- .gitignore
- integration_test.dart
- index.html
- manifest.json
- CMakeLists.txt
- generated_plugin_registrant.h
- generated_plugins.cmake
- app_icon.ico
- CMakeLists.txt
- flutter_window.cpp
- flutter_window.h
- main.cpp
- resource.h
- run_loop.cpp
- run_loop.h
- runner.exe.manifest
- Runner.rc
- utils.cpp
- utils.h
- win32_window.cpp
- win32_window.h
- .gitignore
- CMakeLists.txt
- .gitignore
- pubspec.yaml
- README.md
- .gitkeep
- messages.h
- messages.m
- UIApplication+idleTimerLock.h
- UIApplication+idleTimerLock.m
- WakelockPlugin.h
- WakelockPlugin.m
- .gitignore
- wakelock.podspec
- windows_stub.dart
- wakelock.dart
- wakelock.podspec
- messages.dart
- wakelock_test.dart
- .gitignore
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- wakelock_macos.podspec
- wakelock_macos.dart
- WakelockMacosPlugin.swift
- wakelock_macos.podspec
- wakelock_macos_test.dart
- .gitignore
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- messages.dart
- method_channel_wakelock.dart
- wakelock_platform_interface.dart
- messages.dart
- wakelock_platform_interface_test.dart
- .gitignore
- analysis_options.yaml
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- no_sleep.js
- wakelock_web.podspec
- func.dart
- import_js_library.dart
- js_wakelock.dart
- promise.dart
- wakelock_web.dart
- wakelock_web_test.dart
- .gitignore
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- wakelock_windows.dart
- wakelock_windows_test.dart
- .gitignore
- CHANGELOG.md
- LICENSE
- pubspec.yaml
- README.md
- .gitignore
- analysis_options.yaml
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/creativecreatorormaybenot/wakelock
Downloads the entire project code from GitHub to your computer.
cd wakelock
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/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)
