Greenstand / Greenstand/treetracker-android

App crash when rapidly tapping the back button multiple times.

Open
#1,280 1 comment 0 reactions 0 assignees View on GitHub
beta bug triage
Dominant language
Kotlin
Stars
101
Forks
116
PR merge metrics
No merged PRs in 30d

Description

### App Version / Build Number

2.2.1

### Device

ASUS ROG Phone 9

### Android Version

Android 16

### Describe the bug

App crashes when rapidly tapping the back button multiple times.

### To Reproduce

Scenario 1:
1. On the main menu tap Track.
2. Tap the Add account(+) button.
3. Tap agree (v) button.
4. Tap the back arrow repeated/quickly.
5. Observe the app behavior.

Scenario 2:
1. On the main menu tap Setting icon.
2. Tap the back arrow twice.
3. Observe the app behavior.

### Expected behavior

The app should navigate normally without crashing or showing white screen.

### Actual behavior

The app displays white screen and crashes after rapidly tapping the back arrow in different screens.

### Frequency

Always reproducible

### Severity

Blocker - App crashes or data loss

### Network Conditions

Wi-Fi

### Screenshots / Screen recordings

https://github.com/user-attachments/assets/47f155dc-2ce9-4505-a4aa-41a491352b5a

https://github.com/user-attachments/assets/85e44ced-d6c8-475a-97b7-79ea44e85a87

### Logs

```shell

```

### Additional context

This issue might be related to the white screen issue observed during language change.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing both scenarios on Android 16 with app version 2.2.1: Track > Add account > agree, and Main menu > Settings. Trace the back-arrow handling in those screens and compare it with the reported white screen during language change. Done means repeated back taps navigate normally without a white screen or crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.