Open michaelleung-mif opened 4 months ago
I tried Estimote SDK version 1.0.5, 1.0.7, 1.0.8
I granted all permission android.permission.BLUETOOTH_CONNECT, android.permission.BLUETOOTH_SCAN, android.permission.ACCESS_FINE_LOCATION
val officeZone = ProximityZoneBuilder() .forTag("OfficeZone") .inFarRange() .onEnter { Logcat.i(TAG, "OfficeZone onEnter major: ${it.attachments["major"]}, ${it.attachments["minor"]}") listener?.success(BeaconLocation(it.attachments["major"], it.attachments["minor"])) } .onContextChange { pzc -> pzc.last().also { pz -> Logcat.i(TAG, "OfficeZone major: ${pz.attachments["major"]}, ${pz.attachments["minor"]}") listener?.success(BeaconLocation(pz.attachments["major"], pz.attachments["minor"])) } }.build() proximityObserverHandler = proximityObserver?.startObserving(officeZone)
but no response from onEnter / onContextChange function, and no received any error, but not work
we used the old version gradle-5.4.1 is work after we upgrade to gradle-6.1.1 or above, it is not work
I tried Estimote SDK version 1.0.5, 1.0.7, 1.0.8
I granted all permission android.permission.BLUETOOTH_CONNECT, android.permission.BLUETOOTH_SCAN, android.permission.ACCESS_FINE_LOCATION
but no response from onEnter / onContextChange function, and no received any error, but not work