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
912 stars 201 forks source link

[iOS] Not able to take pictures after zooming in and out multiple times #295

Closed GabrielAraujo closed 1 year ago

GabrielAraujo commented 1 year ago

Steps to Reproduce

Use the example project

Result: No new pictures will be processed

Expected results

Images to be taken and processed normally

Actual results

Infinite loading time on taken pictures

About your device

Brand Model OS
Apple iPhone 13 Pro 16.

Your flutter version

Run this in your command line flutter --version

Flutter 3.7.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision 90c64ed42b (3 days ago) • 2023-03-21 11:27:08 -0500 Engine • revision 9aa7816315 Tools • Dart 2.19.5 • DevTools 2.20.1

GabrielAraujo commented 1 year ago

It seems to be happening only on high end iPhones 13 Pro and so on, lower end ones it works as expected

istornz commented 1 year ago

Thanks for raising an issue, It's now fixed & merged (it will be available soon on v1.4.0 #298 ). You can test on this branch if you want 👍

GabrielAraujo commented 1 year ago

Tested and seems to have fixed!

GabrielAraujo commented 1 year ago

I saw that the fix was on the max zoom values. What do you think on making it configurable? I have some buttons on my camera so the users can easily access 2x, 5x and 10x zoom 10x being the max value but for some iOS and Android devices the 2x is already super zoomed. It would be nice if we had a way to make a universal configuration that works on all cases @istornz thoughts ?