evothings / cordova-ble

Bluetooth Low Energy plugin for Cordova
http://www.evothings.com/
Apache License 2.0
242 stars 103 forks source link

Add Bluetooth crash resolver class to plugin #78

Open ghost opened 8 years ago

ghost commented 8 years ago

There is a problem on Android that happens when the Bluetooth cache for MAC-addresses fills up. A dialog is then displayed saying "Unfortunately, Bluetooth Share has Stopped".

Description of the problem:

http://developer.radiusnetworks.com/2014/04/02/a-solution-for-android-bluetooth-crashes.html

The following code claims to fix the problem by clearing the cache on Bluetooth scans:

https://github.com/RadiusNetworks/bluetooth-crash-resolver