Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformException in web realease builds #58

Open
roman423 opened this issue May 11, 2024 · 2 comments
Open

PlatformException in web realease builds #58

roman423 opened this issue May 11, 2024 · 2 comments

Comments

@roman423
Copy link

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 
@diegotori
Copy link
Collaborator

Please run flutter pub upgrade to ensure that all transient dependencies are upgraded as well.

@roman423
Copy link
Author

My dependencies are uptodate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants