Closed mquerique closed 2 years ago
Yes I think we should prevent you from doing this too fast. Android when switch sensor force us to recreate everything so this can take some time depending on the device.
The problem is that sometimes I'm gettingthe same crash as I open the app, using the "spam click" method is just a way to reproduce the error, not 100% sure that it's the only cause.
Hi,
I see that the fix has been scheduled in the activities and it will be fixed. In the meanwhile, I would like to use your this plugin but the user can change the sensor sometimes. There is some workaround for this problem?
You can add a debounce timer to prevent user to switch between sensors too fast yes. I close this.
Firstly, thanks for your work!
I've been getting a few crashes at random while trying to switch the camera sensor (Back/Front).
Steps to Reproduce
Sometimes the crash occours the first time I open the camera, but the easiest way to reproduce is to rapidly switch sensors (aka: mashing a button that toggles front/back cameras). I've tested it on 2 real devices and it's pretty consistent in one of them (Moto E5).
Stacktrace
Expected results
Switch the camera sensor.
Actual results
App crashes
About your device