The FitbitGatt API is designed to provide a strong state machine around all Android gatt operations with the aim of making Android BLE development across Android vendors as straightforward and side-effect free as possible.
Mozilla Public License 2.0
57
stars
17
forks
source link
Remove location permission requirement for PI broadcast receiver and fix PendingIntent flag bug #68
To support Android S, FLAG_IMMUTABLE flag was added. But to receive result for PI scanner you need to pass FLAG_MUTABLE flag
If client is targeting Android S+ and relying on Nearby permissions PendingIntent broadcast receiver need to remove the location permission requirement on manifest receiver declaration
Same permission removal for for ACL connect receiver and removing ACTION_FOUND filter since it was a no-op
Testing: Verified from Fitbit app on Android 12 and 9
This change contains following changes/fixes
Testing: Verified from Fitbit app on Android 12 and 9