Reproduced 5 of 5 times on the office A52.
Description
Description
1.8% of Android beta sessions crash when the receipt camera is opened a second time. It is our only open crash above the 0.5% bar for release.
Steps to reproduce
- Pixel 5 or Galaxy A52, Android 12
- New invoice → attach receipt → take a photo → back
- Attach another receipt within about two seconds
Expected: the camera opens again. Actual: the app closes.
What we know
| Device | Sessions | Crash rate |
|---|---|---|
| Galaxy A52 | 1,204 | 3.1% |
| Pixel 5 | 688 | 1.9% |
| Others, Android 13+ | 5,310 | 0.0% |
The camera session is not released before the next one starts. Fix: wait for the close callback, disable the button meanwhile.
Done when
- Cause confirmed from the crash log
- Fix in a beta build
- Under 0.1% for 48 hours
Subtasks
Comments, History and Related
- Cause found: we start a session before the old one reports closed. Fix is in review, beta build tonight.
- 📍 Progress 60% On track.