Closed supersam654 closed 8 years ago
Hello @supersam654, the development of xDrip takes place in this repo: https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental
You should move this down to the development repo like Adrian said, anyway your changes fix my connect issues on the my Nexus 6P with both this branch and the experimental branch so thanks!
Closed in favor of https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/213 on the experimental repo.
This PR adds pairing support for Bluetooth devices and Android phones running Marshmallow (fixes #121).
The fix required two changes. The first is the app has to request either fine-grain or coarse-grain location (I chose coarse grain just because). The other change is location services (GPS) needs to be enabled. On devices running Marshmallow only, a notification pops up telling them to enable GPS when they click "Scan for BT".
I tested this fix on my own Nexus 5 running Marshmallow and a different LG G3 running Lollipop (5.1.1).