The barcode scanner asks for camera access the moment it opens, keeps prompting after a permanent denial, pops two system dialogs on a double tap and never notices when the user grants access in Settings. Rebuild the permission flow so it is polite, correct and leak-free.
This is the practice version. Assessments always use a variant you have never seen.
App Store review rejected the scanner build: it asks for the camera before explaining why. src/cameraPermission.js wraps the platform permission API (perm.getStatus() /
perm.request() resolve { status, canAskAgain }), the app's UI (ui.showRationale() resolves true if
the user taps Continue, ) and React Native's .
ui.openSettings()AppStateensure(): granted → true without asking. Otherwise, if the OS can still ask, show the rationale
first; request only if the user continues. If the user is blocked (canAskAgain: false), never
request — open Settings and return false.watch(onChange): when the app becomes active, re-read the status and call onChange(status) only if it
changed. Return a function that removes the AppState listener.Run node --test test/.
| Fix Search and Filters on the Team DirectoryFrontend & UITiers: FresherEditorial | Easy | UI & full-stack | 35 min | Calibrating |
| Triage a Flaky Test Suite Without Weakening ItQA & testingTiers: JuniorEditorial | Medium | Code repo | 45 min | Calibrating |
| Plug the Leaky Session CacheBackend & APIsTiers: FresherEditorial | Easy | Code repo | 30 min | Calibrating |