kakyo
kakyo

Reputation: 11600

Flutter hot-reload stops working when phone goes to sleep

My setup

After deploying the app to the phone and keeping the app running, hot-reload works with Android Studio until the phone goes to sleep and gets locked automatically, when the hot-reload button in the Android Studio toolbar is suddenly grayed out, and the Run button is back to green.

Is this by design? Do I need to turn off the auto-lock of my phone when working with Flutter?

Upvotes: 0

Views: 195

Answers (1)

ibrahimkarahan
ibrahimkarahan

Reputation: 3015

I have the same, its not about your design. And yes you need to turn off auto-lock.

Upvotes: 1

Related Questions