Open Archinamon opened 6 years ago
This might happen for several reasons e.g. if you request multiple takePicture() in short time. Do you have any guards for that?
Btw just for curiosity, are you using it Yandex or is it a personal project? :)
@Diolor I believe the library is handling sequential takePicture
requests correctly as it will queue the requests. At least it is supposed to.
That's true indeed. Still the Android camera can always throw a RuntimeException. Not sure if we can do something more here or if a specific reproducable case
This might happen for several reasons e.g. if you request multiple takePicture() in short time. Do you have any guards for that?
Surely I make only one request to takePicture
and then block the button until I get the 'success' status in callback. But, the thing I'm wonder about — I see two permanent errors leading single takePicture
call. Everything about Handler and asynchronous handling on picture saving are the same in the decorator around the FA and works well on FA 1.5.0
Maybe some other points I can look for?
What are you trying to achieve or the steps to reproduce?
Performing takePicture procedure and it fails on some devices repeatedly on version 2.2.0, but works well on 1.5.0.
How did you initialize FA?
What was the result you received?
Silent exception on