You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous link the problem is explained with detail and also a solution is proposed:
While BroadcastReceivers and other similar mechanisms seem to be crippled, the AlarmManger can be used to refresh dead services. An alarm can be used to resurrect dead services
So, after creating the Service for sending the tests to the database, an alarm should be programmed to solve this issue.
It is not a critical problem, as in normal cases tests are sent, but there will be rare occasions where data will be lost.
The text was updated successfully, but these errors were encountered:
There is a bug in Android 4.4.x and Services and BroadcastReceivers are stopped when the app is closed (closed not pause):
http://www.androidpolice.com/2014/03/07/bug-watch-stopping-apps-on-android-4-4-2-can-silently-kill-related-background-services-a-fix-is-on-the-way
In the previous link the problem is explained with detail and also a solution is proposed:
While BroadcastReceivers and other similar mechanisms seem to be crippled, the AlarmManger can be used to refresh dead services. An alarm can be used to resurrect dead services
So, after creating the Service for sending the tests to the database, an alarm should be programmed to solve this issue.
It is not a critical problem, as in normal cases tests are sent, but there will be rare occasions where data will be lost.
The text was updated successfully, but these errors were encountered: