Comments (6)
Also, this is with version 0.7.6 of the open source library on a Nexus 7.
from android-ibeacon-service.
Yeah, I pasted a large chunk of adb output (with timestamps) here:
https://gist.github.com/jamesfalkner/b777e3145f4e91b1020c
You can see in there where I am cycling monitoring/not monitoring and several big chunks where what appear to be multiple threads trying to start/stop scanning and reporting results.
from android-ibeacon-service.
I believe I have a fix as of 1a2aa13
James, I have rolled a new build at the links below. Please try it when you have a chance and let me know if it resolves your issue.
Thanks,
David
http://s3.amazonaws.com/android-ibeacon-library.radiusnetworks.com/AndroidIBeaconLibrary-0.7.6.1.aar
from android-ibeacon-service.
Hey David, just wanted to thank you for taking the time to check into and fix this.. Using 0.7.6.1 I no longer see the tons of scanLE attempts, however after a few cycles of starting/stopping monitoring and ranging, there still seems to be something lingering. Just before I call iBeaconManager.stopMonitoringBeaconsInRegion(r)
in a loop (to stop monitoring all regions that the iBeaconManager thinks it is managing), I printed out the number of regions returned from iBeaconManager.getMonitoredRegions().size()
- this size seems to be constantly going up (after several cycles of turning on/off monitoring, the size of iBeaconManager.getMonitoredRegions()
is currently up to 66 and increasing).
What's odd is that even if I back out of and fully close my app, when I re-launch it, the number of regions reported by iBeaconManager.getMonitoredRegions()
is huge (now up to 97), even before I turn on monitoring for any regions. Even if I exit app, toggle bluetooth off and back on, and restart app, it still thinks it is monitoring 100+ regions!
from android-ibeacon-service.
OK, glad I fixed ONE problem :) Do you mind opening a new issue for this since it is a little different? I'll investigate that separately and close this one.
from android-ibeacon-service.
Haha, sure, no problem. I'll include some more debugging info in the next one :) Thanks again for your responsiveness!
from android-ibeacon-service.
Related Issues (20)
- Is this library compatible with Google Glass XE16.x? HOT 6
- RSSI is negative with USB Radius beacon HOT 2
- Bluetooth crash recovery infinite loop on Galaxy S3 HOT 5
- Unable to start service Intent { cmp=myPackageName/com.radiusnetworks.ibeacon.service.IBeaconService } U=0: not found HOT 2
- Android Studio TroubleShooting
- NoclassDefFoundError when implements BootstrapNotifier for the Background mode. HOT 1
- [Feature] Add advertising support HOT 3
- Sequent 'didExitRegion()' and 'didEnterRegion()' event occurrence HOT 10
- Inconsistent monitoring behavior HOT 1
- Not able to integrate the beacon library with existing project HOT 1
- Not able to integrate the beacon library with existing project HOT 2
- Mulitple Beacon monitoring problems HOT 1
- Cordova Plugin tweak HOT 2
- Note From CEO Page is Down HOT 2
- Does Android BLE scanner ask scan response by default?
- is it not possible to bind a service on BeaconManager.bind(myService) ??? HOT 2
- How to calculate distance/accuracy when we need rapid updates from the beacons HOT 1
- how to import the beacon library to cordova?
- Bluetooth share not working
- Provide fields for the store number, store name, zip code and addresses in order data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-ibeacon-service.