Closed mgeee closed 2 years ago
perhaps, the following issue is relating to it: https://github.com/flutter/flutter/issues/48016
Thank you reporting this. On an Iphone X we got no error. Maybe this could be related to last iOS version.
CLosed for inactivity
Steps to Reproduce
I have a „device-lost“ problem on my real device iPhone11pro at starting/initializing Awesome-Code. On Android-Simulator everything is working fine. In my opinion, before IOS14- and/or the latest flutter-update, I had no trouble. My camera- sourcecode, has not changed, yet. Flutter doctor -v says everything fine. If I use profilemode, sometimes I can take a picture, sometimes not. If I build in XCode, the returning dialog says: "Failure Reason: Message from debugger: Terminated due to memory issue".
Here is the source-code:
If I start the code at the beginning (first build method call) of my app, that works, but if I call it later, then I run into described issue. Furthermore I had a look into Apples Instruments OS X-App and could determine, that while initializing the camera the memory increases shortly for about 300+mb. I can’t compare to IOS-Simulator, but Android-Simulator don’t produce such memory peaks. Has someone an idea what I can do next, or is this a known issue?
Expected results
What it should be
Actual results
Trace in Instruments-App:
About your device