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

Getting an error when trying to record a video while camera is still initialising (Black Screen) #348

Open aggeloskoutanis opened 1 year ago

aggeloskoutanis commented 1 year ago

Steps to Reproduce

When navigating to RecordUI the camera at first is initializing. The screen is black, and then you can see what the camera is showing when initialization is done.

The problem occurs when I try to record a video while the screen is still black. While the screen is black I press the record button and start recording while initialization never completes and when I stop the recording I receive an error.

  1. Open recordingUI screen.
  2. Press the record button while the black screen is there.
  3. The black screen will never go away while recording.
  4. Stop the recording. You will receive an error

Expected results

As a developer, I would expect that I can show a loading animation while the screen is black or the user should not be able to press the record button while the screen is black.

Actual results

Getting an error.

About your device

Brand Model OS
Google Pixel 4a (5G) Android 13

Your flutter version

3.7.12