Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Estimote IndoorLocation works on Marshmallow but not Pixel 2 or the S9 #20

Open
programmingnatp opened this issue Oct 2, 2018 · 2 comments

Comments

@programmingnatp
Copy link

Prerequisites

  • [x ] Put an X between the brackets on this line if you have done all of the following:
    • My beacons have Estimote Location packet enabled (Check it in the Estimote Cloud, or via app)
    • My Android device/devices supports BLE and has Android OS version >= 5.0.0
    • My Android device/devices have bluetooth enabled
    • My app has Location Permissions granted

Basic information

Estimote SDK version: [Paste here the SDK version that you are using (like 0.1.0-alpha.6)] 'com.estimote:indoorsdk:2.5.3'
'com.estimote:sdk:1.0.12'

Android devices affected:
Pixel 2
Samsung S9 Plus

Android OS version affected: [Android OS version (ex. Oreo 8.0.0)]
Pie (Pixel 2)
Oreo (S9)

Beacon hardware version:
F3.3

Description

Using the sample code (described https://developer.estimote.com/indoor/android-tutorial/), the app worked as expected on Android Lollipop and Marshmallow. However, on phones with Android Oreo and Pie, it seems that the OnPositionUpdateListener always calls hidePosition().

Steps to reproduce:

  1. Follow the tutorial and create an apk
  2. Test the APK on the devices
  3. Run the app

Expected behavior:
An avatar that represents the user moves around in between the displayed beacon as the user moves around in real life.

Actual behavior:
The beacons are displayed, but the avatar is hidden as onPositionOutsideLocation is constantly called on the OnPositionUpdateListener. However, this only appears to be happening on our newer devices.

(Optional)

I am not sure if this is an operating system issue, but I suspect it may be related as the same exact apk works on the older phone models and not the newer ones.

Add here any logs you want to attach, or any other info, like pictures for example
@BVerschaete
Copy link

Same issue on OnePlus 6 and 6T with android Oreo.

@BVerschaete
Copy link

BVerschaete commented Nov 21, 2018

@programmingnatp I was in contact with Estimote and they told me to add the following dependency to my build.gradle:

implementation 'com.estimote:scanning-plugin:0.24.0'

this is a newer version of the scanning plugin that hasn't been updated yet in the indoor SDK, this newer dependency will overwrite the one from the indoor SDK, this solved my issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants