question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App reloads everytime I open it.

See original GitHub issue

Home Assistant Android version: 1.9.0-167 Android version: Android 10 One UI 2.1 Phone model: Samsung S20 Home Assistant version: 0.109.6 Last working Home Assistant release (if known): Always done this. Description of problem: Every time I launch the app, it will reload the front end as if the app was not stored in ram. For example, If I launch it it will reload. If I then go to the home screen (using Nova), then immediately launch it again it will reload again.

If I quick switch to another app, then back to HASS it does not do this.

Locking the app in RAM (keep app open for quick launching) does not change this.

I turned off battery optimization and it solved this issue for a few days, but it has now reverted back to this behavior.

Strangely, if I launch the app from the Google Play store page, it also does not show this behavior.

Traceback (if applicable):


Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
JBassettcommented, Aug 7, 2020

I’m not sure you’ll find an error. If the system decides to kill the app when you put it in the background then there isn’t much we can do about it.

0reactions
dshokouhicommented, Aug 3, 2021

Closing as not much we can do if the android system deems the app needs to be stopped. If there is a crash then we should fix those but no error logs have been reported.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Having already turned off “Background App Refresh”, how do I ...
Hi, · This is happening due to having to many apps open/running at the same time. · Android is usually quite good at...
Read more >
My apps keep reloading even when backgrou…
I've tried both ways with the background app refresh on and off but it still occurs. I've updated my phone thinking it was...
Read more >
is there anyway to stop an app refreshing when you switch ...
I'll be 5 pages down and switch to change a song or look something up and when I come back the app refreshes...
Read more >
How to turn off background apps on your iPhone and Android
How to turn off Background App Refresh on your iPhone and iPad. Go to Settings > General > Background App Refresh. Tap Background...
Read more >
Why do my apps reload when i swap between apps?
Every single app seems to boot from scratch when it should already be open. I can't foresee it being a RAM issue because...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found