Skip to content

Conversation

creativecreatorormaybenot
Copy link
Contributor

@creativecreatorormaybenot creativecreatorormaybenot commented Oct 4, 2019

The current wakelock plugin (flutter_screen) lacks maintenance and has had AndroidX compatibility issues for over half a year.

To fix this, I changed the plugin to wakelock, which is also more lightweight because it has just the wakelock and no brightness adjustments.

The formatting cupertino_controls.dart is caused by flutter format and Pub complained about it before.

The version constraint is correct like this and I will ensure that there are no compatibility changes until 0.2.0 as I am the author of wakelock.

Related

clovisnicolas/flutter_screen#15

@brianegan
Copy link
Collaborator

Awesome, thanks for the update!

@brianegan brianegan merged commit 821903d into fluttercommunity:master Oct 31, 2019
@creativecreatorormaybenot creativecreatorormaybenot deleted the switch-wakelock-plugin branch October 31, 2019 13:37
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

Successfully merging this pull request may close these issues.

Play video cannot save the screen from always waking up

2 participants