-
Notifications
You must be signed in to change notification settings - Fork 85
/
AndroidManifest.xml
59 lines (51 loc) · 2.29 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
>
<!-- Necessary to perform any Bluetooth classic or BLE communication, such as requesting a
connection, accepting a connection, and transferring data. -->
<uses-permission
android:name="android.permission.BLUETOOTH"
android:maxSdkVersion="30"
/>
<uses-permission
android:name="android.permission.BLUETOOTH_ADMIN"
android:maxSdkVersion="30"
/>
<!-- Not needed for apps targeting Android 9 (API 28) or lower, but there is no `minSdkVersion` attribute. -->
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:maxSdkVersion="30"
/>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
android:maxSdkVersion="30"
/>
<uses-permission
android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation"
tools:targetApi="s"
/>
<!-- Required to call `BluetoothDevice.getName()`, `BluetoothDevice.getBondState()`, `BluetoothGatt.disconnect()`, etc. -->
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<!-- "If you say the feature is required for your app, then the Google Play store will hide your
app from users on devices lacking those features. For this reason, you should only set the
required attribute to `true` if your app can't work without the feature."
— https://developer.android.com/guide/topics/connectivity/bluetooth/permissions#features
Marked as `false` as Kable shouldn't make this decision for the consuming app. -->
<uses-feature android:name="android.hardware.bluetooth_le" android:required="false"/>
<application>
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="merge"
>
<meta-data
android:name="com.juul.kable.KableInitializer"
android:value="androidx.startup"
/>
</provider>
</application>
</manifest>