AssistantNMS / AssistantNMS/App

🐛 Bug Report: App is sometimes black when closing and re-opening

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
50
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### 📜 Describe the bug

This is hard to replicate, but I encounter it quite often.

When closing the app, then doing something else for a while, then re-opening, it stays black sometimes.
Closing the app completely and then re-opening it fixes it, I'm not entirely sure if normal close and re-open fixes it as well (I'll test that next time I encounter the bug and add it to this issue).

### 👟 To Reproduce

1. Close app (only go to home screen, don't completely kill the process)
2. do something else for a while
3. open app again
4. app stays black

### 👍 Expected behavior

App should display the page where you left off

### 📱 Where did you find this problem?

Android

### 🪵 Logs

_No response_

### 👀 Have you checked if this bug report has been created already?

- [X] I checked and couldn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/AssistantNMS/App/blob/main/.github/CODE_OF_CONDUCT.md)

### Are you willing to submit PR?

None

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Android lifecycle steps: send the app to the home screen, wait, and reopen it without killing the process. Investigate the black-screen case and verify that reopening reliably restores the page shown before the app was backgrounded.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.