Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
911 stars 200 forks source link

unable to write file while takePhoto on multiple sensors IOS #353

Open finn-olekahl opened 1 year ago

finn-olekahl commented 1 year ago

Steps to Reproduce

  1. Implement multiple sensors at one time (explained here: https://docs.page/Apparence-io/camera_awesome/getting_started/multicam)
  2. Setup file paths for pictures
  3. Run function takePhoto()

Expected results

It should take two photos from the back and front sensor

Actual results

Got the error flutter: [IOError, unable to write file, null]. For single sensor pictures everything works as expected. I used the same path builder like in the example main.dart (https://github.com/Apparence-io/CamerAwesome/blob/master/example/lib/main.dart). But it just won't work for multiple sensors.

About your device

Brand Model OS
Apple iPhone 13 Pro iOS 16.5

Your flutter version

Run this in your command line flutter --version

Flutter 3.10.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision 9cd3d0d9ff (5 days ago) • 2023-05-23 20:57:28 -0700 Engine • revision 90fa3ae28f Tools • Dart 3.0.2 • DevTools 2.23.1

finn-olekahl commented 1 year ago

Are there any updates?