Sensoro / SDK-Android

SBK Demo Android
44 stars 50 forks source link

SDK is not working properly in Android Nougat 7.0 #16

Open Raullg98 opened 7 years ago

Raullg98 commented 7 years ago

Android 7.0 only permits to scan a beacon 5 times in 30 seconds, but SDK by default exceed this limit, so in 7.0 ForegroundScanPeriod need to be 6000ms, this change would "solve the problem" but now the sdk would detect constantly that beacons are out of range and then would detect they again, and that would be a loop, so variable OUT_OF_RANGE_DELAY need to be changed from 8000L to a higher value

kriti17 commented 7 years ago

Any update on this? With the increasing number of android N users the issue is quite urgent.

Raullg98 commented 6 years ago

We're still waiting for a response