You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project we found a bug that when starting the camera in its rear mode and using the getSupportedFlashModes method we received an array of all available values: off, auto, on, and torch.
When using the flip() method to access the front camera and using flip() again to return to the rear, using the method again the array comes empty.
And if I try to use the setFlashMode method, the application fails even though the cell phone initially supports Flash.
We performed the test on a physical Android 14 device.
I would like to know if this is really a bug or is there any recommendation for using the following plugin?
Versions:
Android 14 (SDK 34)
Capacitor 5
Ionic/Angular 7
CameraPreview: 5
Angular 16
Model: Samsung A54
ChromeVersion: 128.0.6613.147
Gradle: 8.7
The text was updated successfully, but these errors were encountered:
danielcollione
changed the title
getSupportedFlashModes returns null in Android 14 SDK 34
getSupportedFlashModes returns array empty in Android 14 SDK 34
Sep 24, 2024
In our project we found a bug that when starting the camera in its rear mode and using the getSupportedFlashModes method we received an array of all available values: off, auto, on, and torch.
When using the flip() method to access the front camera and using flip() again to return to the rear, using the method again the array comes empty.
And if I try to use the setFlashMode method, the application fails even though the cell phone initially supports Flash.
We performed the test on a physical Android 14 device.
I would like to know if this is really a bug or is there any recommendation for using the following plugin?
Versions:
The text was updated successfully, but these errors were encountered: