wakelock
wakelock copied to clipboard
Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, and web.
Calling Wakelock.enable changes system Ui overlay style to the one default of the system. In particularly, this changes the status bar icon brightness. This was tested on Android. Simply call...
Calling `Wakelock.enable()` within the `main` function throws a `TypeError` when running against web. ``` void main() { WidgetsFlutterBinding.ensureInitialized(); Wakelock.enable(); runApp(const MyApp()); } ``` ``` TypeError: Cannot read properties of undefined...
Hi, mi app is a game where players have to think for a while. So sometimes they are meditating and not interacting at all. I only have timers running at...
The regression in #130 made me realize that the missing integration tests for Android are a problem. If I recall correctly, I did not manage to add them (easily) initially...
## Description The wakelock plugin has added support for web (#40), for macOS (#86), and now also for Windows (#96) over time. The only missing platform at this time is...
Got the below issue, I'm on flutter 3.3.0: ``` E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): Failed to handle message E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): java.lang.IllegalArgumentException: Message corrupted E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): at io.flutter.plugin.common.StandardMessageCodec.readValueOfType(StandardMessageCodec.java:450) E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): at io.flutter.plugin.common.StandardMessageCodec.readValue(StandardMessageCodec.java:340) E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): at io.flutter.plugin.common.StandardMessageCodec.readValueOfType(StandardMessageCodec.java:424) E/BasicMessageChannel#dev.flutter.pigeon.WakelockApi.toggle(24941): at io.flutter.plugin.common.StandardMessageCodec.readValue(StandardMessageCodec.java:340)...
https://github.com/flutter/flutter/issues/126657 Please help check it
## Description wakelock was not compatible with other packages because of win32 version in wakelock_windows, Updated it to latest version, to remove conflict with other packages. I was getting this...
Hi, We are using chewie in flutter which has a transitive dependency on this library. Due to old kotlin_version we are not able to make some important changes in our...
## Description Updated Gradle tools to 4.2.2 and Kotlin version to 1.9.21