iOS/keepOn did not finish the future#15
Conversation
| else if ([@"keepOn" isEqualToString:call.method]) { | ||
| NSNumber *b = call.arguments[@"on"]; | ||
| [[UIApplication sharedApplication] setIdleTimerDisabled:b.boolValue]; | ||
| result(nil); |
There was a problem hiding this comment.
The major change of this PR. @clovisnicolas could you merge & release a update on pub?
There was a problem hiding this comment.
@clovisnicolas any chance you could review/merge this fix?
|
@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 |
|
@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 |
|
@recastrodiaz Thanks for the information. I will propose a PR to the video player that switches to
I will post it here when done. |
The iOS side of the plugin was missing a result(nil) call for the keepOn function, which has been fixed.
Also included: