iwarifgha / flutter_camera_and_bloC

0 stars 0 forks source link

Doesn't handle recovery from pause #1

Open JavascriptMick opened 6 months ago

JavascriptMick commented 6 months ago

Hi Iwari,

Great implementation. Camera and bloc is not trivial, I'm grinding away at the same sort of thing. I wondered if you had any issues , particularly on android with the phone going into sleep mode and the camera controller being messed up after.

If you haven't tested this scenario, you might want to look into handling the didChangeAppLifecycleState event in your bloc and re-initialising the controller.

iwarifgha commented 5 months ago

Haven't had this scenario. I will test it out and get back to you. Were you able to handle it yourself?