mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Add bluetooth permissions by default for android exporters
This commit is contained in:
parent
b0ca1c40ca
commit
00aefd3ec3
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ public:
|
|||
if (getInternetNeededValue().toString().isEmpty())
|
||||
getInternetNeededValue() = true;
|
||||
|
||||
if (getBluetoothPermissionsValue().toString().isEmpty())
|
||||
getBluetoothPermissionsValue() = true;
|
||||
|
||||
if (getKeyStoreValue().getValue().isVoid()) getKeyStoreValue() = "${user.home}/.android/debug.keystore";
|
||||
if (getKeyStorePassValue().getValue().isVoid()) getKeyStorePassValue() = "android";
|
||||
if (getKeyAliasValue().getValue().isVoid()) getKeyAliasValue() = "androiddebugkey";
|
||||
|
|
@ -323,6 +326,7 @@ public:
|
|||
{
|
||||
s.add ("android.permission.BLUETOOTH");
|
||||
s.add ("android.permission.BLUETOOTH_ADMIN");
|
||||
s.add ("android.permission.ACCESS_COARSE_LOCATION");
|
||||
}
|
||||
|
||||
return getCleanedStringArray (s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue