wakelock_plus
wakelock_plus copied to clipboard
Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, Linux, and web.
** Execution failed for task ':wakelock_plus:compileReleaseJavaWithJavac'. > error: invalid source release: 17 ** compileSdk 34 ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' }...
I turned off the feature using WakelockPlus.disable(); but it keeps the screen open in iOS.
Hello Creator, I started using your package today and I'm grateful for the amount of work you put into this, however, I'm not getting the desired result with this package....
Error: ``` PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.wakelock_plus_platform_interface.WakelockPlusApi.isEnabled"., null, null)` ``` Code: ``` FutureBuilder( future: WakelockPlus.enabled, builder: (context, snapshot) { ``` Description: The error only occur in release...
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null) -0 WakelockPlusApi.toggle (package:wakelock_plus_platform_interface/messages.g.dart:100:7) -1 MethodChannelWakelockPlus.toggle (package:wakelock_plus_platform_interface/src/method_channel_wakelock_plus.dart:20:5)
Just minify the asset using https://minify-js.com/
Hi, I just upgraded my package from wakelock to wakelock_plus, but the exact same code (minus class name changes, i.e `Wakelock` to `WakelockPlus`) is resulting in the wakelock not working...
https://github.com/fluttercommunity/wakelock_plus/commit/847f3171916c9237fcf885039d4a0c9079430f83
This is breaking flet's video plugin with following: ``` compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class...
For web build (in debug) I encountered the following uncaught exception: NotAllowedError, Failed to execute 'request' on 'WakeLock': The requesting page is not visible In the stack, this code gets...
Whenever I try to run an iOS build of my app that has the wakelock plus package, I always get this error. What can be done to fix this?