Android 10, sdk29 and Bluetooth permissions

Hi,

Starting with API29+, Android 10+ devices need to have ACCESS_FINE_LOCATION permission instead of ACCESS_COARSE_LOCATION to be able to scan Bluetooth devices.
(see https://developer.android.com/about/versions/10/privacy/changes)

I think that there is a change to make in
modules\juce_core\native\juce_android_RuntimePermissions.cpp
and
extras\Projucer\Source\ProjectSaving\jucer_ProjectExport_Android.h

to be able to use bluetooth devices with Android 10.

Kind regards,

1 Like

BTW, according to https://developer.android.com/distribute/best-practices/develop/target-sdk,
From 2 November 2020, app updates must target Android 10 (API level 29) or higher.