Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App and service gets killed in low memory situations. #112

Closed
soenkegissel opened this issue Sep 13, 2019 · 4 comments
Closed

App and service gets killed in low memory situations. #112

soenkegissel opened this issue Sep 13, 2019 · 4 comments
Labels

Comments

@soenkegissel
Copy link

soenkegissel commented Sep 13, 2019

Checklist

  • [X ] I am sure the error is coming from Daedalus's code and not elsewhere.

Platform

  • Device: [e.g Wiko Lenny 4, Samsung S7]
  • OS: [Android 7.0]
  • Daedalus Version: [1.14.1]

Description

In low memory situations and app gets closed. With the app the service closes.

Steps to Reproduce

Fill the RAM

Screenshots

WikoLenny4a

@PeratX
Copy link
Member

PeratX commented Sep 14, 2019

Low memory. hmmm

@soenkegissel
Copy link
Author

soenkegissel commented Sep 14, 2019

I added the startForeground method of Android service to the services onStartCommand method.
After adding the app having an app not responding (ANR) issue. But still this could be a solution.

@soenkegissel
Copy link
Author

I got a little more information here.
On my example phone, the Wiko Lenny 4, an app called One Clean is preinstalled which shuts down the app. Whitelisted the app in One Clean's settings worked.

I found that idea of a never ending background service and tomorrow I will start adopting it to Daedalus.

@PeratX
Copy link
Member

PeratX commented Sep 16, 2019

That will be great

@PeratX PeratX closed this as completed in 99cc306 Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants