We are noticing on some devices the monitoring stops after a few hours ie we stop getting push notifications that we have implemented. it happens when the phone has been sleeping for over an hour. Is there some limitation on how monitoring works in the background ?
Can you let us know what Android device(s) you’re experiencing this with, what’s the Android OS version, and the Estimote SDK version? Thanks!
Lollypop with SDK 0.8.2
issue remains the same after 8 days of trying to tweak with the software.
models:Samsung Galaxy S6 g 920i - Android 5.1.1
Nexus 6 – Android 6.0.1
as well when the app is killed from the background no notifications show up…
Thanks for the added info!
0.8.2 is 6 months old, and we made a ton of improvements to the SDK since then, including some significant changes/fixes to monitoring. Can you try updating to the latest version and let us know if you’re still experiencing the issue?
Android 6 introduced App Standby and Doze (http://developer.android.com/training/monitoring-device-state/doze-standby.html), we’re still exploring how these interact with beacon monitoring, but it could be the culprit.
we have updated the SDK still same issues - it works fine for a few days and then no more notifications…
Hi @Jastwo_Singh,
As @heypiotr mentioned before we are strongly correcting monitoring mechanism. It would be great if you can provide us more detailed information about your setup so we can recreate the issue. In addition can you specifically tell me:
- Did anything changed in terms of devices you use for testing? (Previously: Samsung Galaxy S6 g 920i - Android 5.1.1
Nexus 6 – Android 6.0.1) - What exact Android SDK are you using? We release quite often so it’s very critical for us to know.
- How are you validating if mechanism is working? Have you checked if this is not delay (eg. because of doze mode or issue related to lock screen notifications)?
- How often do you enter region?
In general the more details you give us, the better we can support you. Looking forward to hear from you!
Marcin
I have the same issue. I suppose you use a background service, but this one never start. Do I need to declare it on my manifest? I am using version 0.13.0
I have a similar issue, but instead of a few hours, it is a matter of days. After a few days of background monitoring working fine, it suddenly stops sending updates. This is observed on my device (Samsung Galaxy S7 with Android 6.0.1). However, it appears to be working as intended on Nougat (although this is not fully confirmed).
I have followed the tutorial step by step.
I am using Estimote for Android version 0.16.0 (com.estimote:sdk:0.16.0@aar).
This is my primary device, and I have been using it regularly, charging it once per day.
We’ll have our Android folks look into that (: Best if you also file a bug report on https://github.com/Estimote/Android-SDK/issues with some code snippets, debug logs, etc.