-
Notifications
You must be signed in to change notification settings - Fork 19
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
Tracking mysteriously turned off on android #155
Comments
Ok so the logs bear this out - this was reported on the 30th, and the last
|
Let's see what happened after that notification...
No further updates. Next line is from the sync that occurred ~ 45 minutes later.
And everything after that is syncs. I wonder if this is the issue with location services turned off. I am going to experiment with that and see if it has the same behavior... |
Actually, that might not be it. This looks closer to
Note that the event is apparently never delivered to the Maybe the solution of recreating the geofence on every sync is the only real solution to avoid such weirdnesses. |
I'm beginning to think that this may be an issue with the geofence intent service being killed improperly. Look at the logs above - we get a bunch of messages from the There is no code between the usercache and the broadcast.
And we log in the first statement of the broadcast receiver.
We know that the usercache was invoked. So either:
we don't yet have data for Jun 25 on google play, but there have been no crashes from Jun 9 to Jun 16, so it seems a bit unlikely. Also, the behavior observed in #127 (comment) is more consistent with a killed service. Again, the log statements stop while executing innocuous statements, and there is nothing between the statement that was executed and the statement that was not.
And further, the statements now have nothing to do with the broadcast - they stop while parsing the event. If the service was getting mysteriously stopped for some reason, it would be able to explain both instances, so it seems a bit more likely. I will ask for android logs too if I can get them, but probably not. I don't see any code on how an IntentService could be stopped, but I can listen to memory pressure events such as |
I checked that tracking was on, and the FSM was in
waiting_for_trip_start
state, but there were no trips for the past several days.The text was updated successfully, but these errors were encountered: