-
-
Notifications
You must be signed in to change notification settings - Fork 477
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 closed in the background on Huawei phones #500
Comments
I've released 1.2.5 now which includes several fixes. Please report back if the app works better now. |
just installed 1.2.5 |
Not regarding functionality besides the way the MQTT connection works. |
I have two phones with owntracks connected to cloudmqtt. My phone is running 1.2.5 and my wife is running 1.2.3. Her phone sends updates to cloudmqtt and updates owntracks map as I expect it. My phone is not sending updates most of the time unless I open the front end and sometimes I have two wife entities in my friends, and sometimes I'm in Florida when I'm not. Both phones are configured exactly the same. Any ideas? |
If you say that they are configured exactly the same, das this include the MQTT client id?
Also what devices and Android Versions are you using?
… Am 01.07.2017 um 04:36 schrieb jkvalence ***@***.***>:
I have two phones with owntracks connected to cloudmqtt. My phone is running 1.2.5 and my wife is running 1.2.3. Her phone sends updates to cloudmqtt and updates owntracks map as I expect it. My phone is not sending updates most of the time unless I open the front end and sometimes I have two wife entities in my friends, and sometimes I'm in Florida when I'm not. Both phones are configured exactly the same. Any ideas?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
installed yesterday v.1.2.5 and today morning it was closed again. |
Unfortunately I don't see any matching crashes that were reported. |
there are several things how i noticed it:
|
Do you have the ongoing notification enabled in the preferences? |
Sorry about the response time. We are using two separate IDs, Users, etc... |
@make92 the "ignore battery optimization" doesn't hurt, but it's not the "feature" that disables background closing on Huawei phones. Check if there's something like Phone manager - Battery - Close apps after screen lock. Also, if you find something similar, restart the phone. |
Hey guys, it's in "Advanced Settings"->"Battery Manager"->"Protected Apps" |
On my Huawei P10 plus this feature is called "ignore battery optimization", however even if you enable owntracks for this it's still closing after some days automatically. |
@make92 Ignore battery optimisation is not the same as Protected Apps, Android offers this Battery Optimisation on its own |
Also, there is no way to tell if your app is "protected" or not. Does anyone know if the next release of EMUI will have an API for this? Huawei obviously don't email back and I can't find a solid source |
hi,
i was using owntracks on my samsung mobile with android 6 for quite some time without any problems.
since i changed to Huawei P10plus with Android 7 owntracks get closed/crashed after an undefined time.
it seems when the app is in the background it gets sometimes closed/crashed after some hours or days.
i tried the lates version (1.2.3) as well as the beta (1.2.4) same results
all batt. saving settings are disabled for it, so i assume the issue must be somewhere else.
The text was updated successfully, but these errors were encountered: