fluttercommunity / chewie

The video player for Flutter with a heart of gold
MIT License
1.88k stars 973 forks source link

How to disable wakelock on IOS side? #808

Open kaganzdmr58 opened 5 months ago

kaganzdmr58 commented 5 months ago

Chewie video player: on android devices wakelock is not working when user watches a video, but on IOS it is working. Android device problem is solved with wakelock_plus when I want lock or unlock, I don't want some videos I run in the background to affect the device locking. Is there any way to disable wakelock on IOS side in chewie. Thank you

TAC911 commented 1 month ago

Same issue here. We have videos on pages that are auto-playing with repeat (example: a welcome video running on the login screen). These screens never lock.

Is there an option how we can autolock such screens?