Locked app gets stuck when scanning document from gallery images
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
Open protected nextcloud client with device lock
When scan document, if use image from gallery, when select image, it's stuck on asking for fingerprint in loop.
I need to disable any protect pass or device lock if need to scan document from gallery.
It shuld be able to add more pictures from gallery and after adding to be able to edit crop etc.
Regards
### Expected behaviour
When select image for next one, shuld not ask dor password again and if ask, shuld be able to login, not stuck in loop
### Actual behaviour
Stuck in loop login credentials or fingerprint when add more image from gallery scan document option.
### Android version
16
### Device brand and model
Samsung S21 Ultra
### Stock or custom OS?
Stock
### Nextcloud android app version
34.0.1
### Nextcloud server version
34
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
```bash
```
### Additional information
_No response_
Contributor guide
Research direction
No source files, tests, or entry points are named. Start by reproducing the issue on the protected Android app using the gallery-image document scan flow, then compare adding the first image with adding subsequent images. Done means gallery selection no longer loops on fingerprint or credentials and multiple images can be added and edited.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100