fluttercommunity / fluttercommunity/wakelock_plus
PlatformException in web realease builds
- Dominant language
- Dart
- Stars
- 109
- Forks
- 97
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 2
Description
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 not dev environment.
Environment:
```
wakelock_plus: 1.2.5
wakelock_plus_platform_interface: 1.2.1
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (3 weeks ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4
```
Contributor guide
Assessment
This issue has not been assessed yet.