Estimote / Android-Indoor-SDK

Estimote Indoor SDK for Android
MIT License
63 stars 29 forks source link

onPositionOutsideLocation() fired whilst should be onPositionUpdate() #29

Open xueisabelle opened 4 years ago

xueisabelle commented 4 years ago

Prerequisites

Basic information

Estimote SDK version: [2.5.3]

Android devices affected: [Both WIKO Y80 and HUAWEI P10]

Android OS version affected: [Android 9.0 on Huawei p10]

Beacon hardware version: [F3.3]

Description

I used the sample provided to test indoor location with my 4 beacons and my android devices. I have successfully obtained my CloudLocation and activated the IndoorLocationManager with default presets (as done in the sample). I expect OnPositionUpdate(Location) to be fired but it's not happening. The method OnPositionOutsideLocation is triggered once then nothing happens even if i move my phone across the defined Location. I tried with multiple locations and beacons positioning. I already managed to pair my beacons using BeaconManager using a ProximityObserver and manually registering beacons so the problem isn't related to my beacons.

Steps to reproduce:

  1. Use the sample project 'IndoorApp' of this Git repo
  2. Define cloud credentials
  3. Start the application on my device, authorize bluetooth and position
  4. It should trigger onPositionOutsideLocation() once, then remain quiet

Expected behavior: I expect my position to be updated with onPositionUpdate()

Actual behavior: onPositionOutsideLocation() is triggered once while my device is sitting on my defined Location on estimote cloud