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

Orientation listener has a possible bug using Camera several times #316

Closed italoMBas closed 1 year ago

italoMBas commented 1 year ago

Steps to Reproduce

Hello, I was testing the package and I found a possible bug when using the camera. Just open and close the camera 129 times, it will show a warning that the maximum number of registered listeners has been exceeded, and ends up with an infinite load on screen.

image

About your device

Brand Model OS
Motorola Moto G9 Android 11

Your flutter version

3.3.8

apalala-dev commented 1 year ago

Thank you for reporting the issue (and nice catch btw!). 👍 We pre-released the 2.0.0 version which includes a fix for this. You can find it here.