Diego Tori

Results 186 comments of Diego Tori

What platform are you using? Also, iOS has known issues where it may not keep the screen on (affecting 16.4 and higher). Once I get myself an iOS device, I'm...

> Please, what are the possible things i need to do now to prevent the device screen from sleeping?, my app is already in Production, I need to fix it...

Furthermore, after doing a quick Google search, it seems that this is a [known issue](https://stackoverflow.com/questions/27384378/why-flag-keep-screen-on-doesnt-work-properly), where `WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON`, which is what this library adds and removes in its Android platform channel,...

iOS has known issues where it may not keep the screen on (affecting 16.4 and higher). Once I get myself an iOS device, I'm gonna port the code from [Insomnia.swift](https://github.com/ochococo/Insomnia/blob/master/Insomnia/Insomnia.swift)...

@DeekanshuSaini please read my post. Right now, the legacy Objective-C code isn't cutting it anymore for iOS. If you happen to port the code in [Insomnia.swift](https://github.com/ochococo/Insomnia/blob/master/Insomnia/Insomnia.swift), then I'll be happy...

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

@arabnology Need more than just that. The exact platform in which it was made.

@arabnology and @corepuncher, what I would suggest is to first run `flutter clean`, then `flutter pub upgrade` so that it upgrades any transitive dependencies that `wakelock_plus` uses. This is usually...

@syleishere you have to run `flutter pub upgrade` on your own project. Also, please ensure that the dependency isn't pinning version `1.2.1` (in other words declaring that version without a...

@arabnology and @corepuncher, looks like I spoke too soon. Turns out, when I released version `1.2.0`, it was using an older version of `wakelock_plus_platform_interface` that was not published beforehand, where...