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
947 stars 234 forks source link

AwesomeFlashButton has wrong state after switching cameras #177

Closed Zazo032 closed 1 year ago

Zazo032 commented 1 year ago

Steps to Reproduce

  1. Open the camera
  2. Tap AwesomeFlashButton to change flash to FlashMode.always
  3. Switch camera to front camera
  4. Switch back to rear camera

Expected results

FlashMode is always and AwesomeFlashButton shows the torch icon

Actual results

FlashMode is always and AwesomeFlashButton shows flash off icon

About your device

Brand Model OS
Samsung A21s 12
apalala-dev commented 1 year ago

This should be fixed on master now. Let use know if something else is wrong 👍