flutter_screen
flutter_screen copied to clipboard
iOS/keepOn did not finish the future
The iOS side of the plugin was missing a result(nil) call for the keepOn function, which has been fixed. Also included:
- Update iOS project files to latest versions
- Include 1024x1024 icon for example
@ened If you only want to use the wakelock functionality, you could use wakelock, which I created due to lacking support from @clovisnicolas. In wakelock, this problem is fixed.
@clovisnicolas Hi Clovis, I'm having this bug too on iOS, can you please merge this?
@kevinrodriguez-io Is there something about wakelock
missing for you?
@creativecreatorormaybenot the main reason I'd like this fixed is that Chewie's video player uses flutter_screen under the hood: https://github.com/brianegan/chewie/blob/master/pubspec.yaml#L16
Otherwise your wakelock
library works really well!
@recastrodiaz Thanks for the information. I will propose a PR to the video player that switches to wakelock
because of two reasons:
-
It does not use the brightness control in
flutter_screen
. -
flutter_screen
is not being maintained.
I will post it here when done.