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.
Addresses issue #19 from https://github.com/flutter/flutter/issues/121417#issuecomment-1945212351.
I'm using a package that depends on wakelock_plus, and on the first attempt to make a web build it seemed to work fine. However, our app is designed to be...
Hosting the app locally, accessing it on an android device via chrome over LAN (e.g. 192.168.1.12:port) The future returns the updated enabled/disabled value, but the screen still turns off. If...
When I use this plugin and [https://pub.dev/packages/presentation_displays](https://pub.dev/packages/presentation_displays) and call showPresentation. The wakelock show log like this : `E/flutter ( 9659): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(NoActivityException, dev.fluttercommunity.plus.wakelock.NoActivityException: wakelock requires a foreground activity,...
flutter doctor log [✓] Flutter (Channel stable, 3.13.0, on macOS 13.5.2 22G91 darwin-arm64, locale en-IN) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ cmdline-tools component...
I want to use package_info_plus v5.0.1. But your pluging asking 4.2.0. Thanks in advance.
This no_sleep.js file should only be used for web projects (and perhaps be compressed as well).
I am using **wakelock_plus** for one of my classes to keep player screen on. Test cases related to that file are failing. I was earlier using **wakelock**, recently updated to...
Is there a way to set `levelAndFlags` and `tag` parameters for [newWakeLock](https://developer.android.com/reference/android/os/PowerManager?authuser=1#newWakeLock(int,%20java.lang.String)) android method ? The reason behind this question is that I want to set a specific tag that...
## Description if a web-app is deployed using `--base-href=/path/to/deployed/flutter/app` during build, the URLs starting with `./assets` won't work anymore. Using [assetManager](https://api.flutter.dev/flutter/dart-ui_web/assetManager.html) will properly resolve them. It uses `assetBase` from the...