File tree 3 files changed +12
-5
lines changed
UnityBluetooth-AndroidStudio/app/src/main
Assets/UnityBluetooth/Plugins/Android
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : tools =" http://schemas.android.com/tools" >
4
4
5
- <uses-permission android : name =" android.permission.BLUETOOTH" />
5
+ <!-- Bluetooth permission. refer to https://developer.android.com/develop/connectivity/bluetooth/bt-permissions -->
6
+ <!-- Request legacy Bluetooth permissions on older devices. (Android <12) -->
7
+ <uses-permission android : name =" android.permission.BLUETOOTH" android : maxSdkVersion =" 30" />
8
+ <uses-permission android : name =" android.permission.BLUETOOTH" android : maxSdkVersion =" 30" />
9
+ <uses-permission android : name =" android.permission.BLUETOOTH_ADMIN" android : maxSdkVersion =" 30" />
10
+
11
+ <!-- Android >=12 -->
12
+ <uses-permission android : name =" android.permission.BLUETOOTH_SCAN" />
13
+ <!-- <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />-->
6
14
<uses-permission android : name =" android.permission.BLUETOOTH_CONNECT" />
7
- <uses-permission android : name =" android.permission.BLUETOOTH_ADMIN" />
8
15
9
- <uses-permission android : name =" android.permission.ACCESS_FINE_LOCATION" /> <!-- Android > 10 -->
16
+ <uses-permission android : name =" android.permission.ACCESS_FINE_LOCATION" /> <!-- Android >= 10 -->
10
17
<uses-permission android : name =" android.permission.ACCESS_COARSE_LOCATION" /> <!-- Android 9 -->
11
18
12
19
<application />
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ PlayerSettings:
134
134
16:10 : 1
135
135
16:9 : 1
136
136
Others : 1
137
- bundleVersion : 1.0
137
+ bundleVersion : 1.1
138
138
preloadedAssets : []
139
139
metroInputSource : 0
140
140
wsaTransparentSwapchain : 0
@@ -160,7 +160,7 @@ PlayerSettings:
160
160
iPhone : 0
161
161
tvOS : 0
162
162
overrideDefaultApplicationIdentifier : 1
163
- AndroidBundleVersionCode : 1
163
+ AndroidBundleVersionCode : 110
164
164
AndroidMinSdkVersion : 19
165
165
AndroidTargetSdkVersion : 0
166
166
AndroidPreferredInstallLocation : 1
You can’t perform that action at this time.
0 commit comments