Closed andreasfranz closed 7 years ago
Hey @andreasfranz
Yes, this is due to new Android O restrictions. We are planning to add support for Android O in upcoming weeks. Stay tuned!
What workaround did you use for this problem?
No workaround so far.
Replace the Service by a JobScheduler.
@pawelDylag Just looked into the source code of the latest Estimote 1.2.0 library and looks like this BeaconService issue is fixed with an Alarm Manager. Works fine in background mode (Tested on Pixel with Android O). Should this issue be closed, or is there any other known issue. Please let me know. Thanks.
Hey guys,
Just to let you know - we are working on a refreshed version of our SDK. It is designed to take advantage of all the new possibilities that Android N/O gives us. We know that the current version is not fully supporting those platforms and we are aware of some problems with scanning (time, battery drain, low reliability). We won't do any quick fixups now, because it's not the proper way we want to handle this. Instead we are working on fully tested, data-driven approach that will give you the best results on recent versions of Android. I'm not allowed to tell you anything more, and I'm also not allowed to tell you that estimated release date is the end of the September ;) Stay tuned!
Hey! I just wanted you to know that we are in the process of moving our SDK for Android to a completely new architecture. We won't be publishing any updates to our old (current master) SDK for a while.
But don't worry - there is an ALPHA version of our FRESH PROXIMITY SDK available now!
It uses a completely new scanning mechanism and will work on new Android versions like a charm (6.0, 7.0, 8.0).
We did a great job with renovating our ecosystem to cut off the old, messy code, full of hacks for Android KitKat an Jellybean. This is why working with BeaconManager
was so frustrating by the way.
Plan for the next couple of weeks:
I encourage you to try it out - there is a ready made app for you to show the possibilities of our completely new SDK -> https://github.com/Estimote/Android-SDK/tree/proximity-sdk Let us know what you think! I will keep you updated about the progress.
Phone Model: Nexus 5X Android Version: Android 8.0.0 Developer Preview 3 Estimote SDK version: 1.0.3:release
I us the example project from the Android tutorial (http://developer.estimote.com/android/tutorial/estimote-android-tutorial-ea99e83c.zip). After starting the app and putting it in the background it takes around 30s until I get the following stack trace:
Probably the issue could be related to the new background service restrictions that are introduced with Android O (https://developer.android.com/preview/features/background.html#services).