Skip to content

Commit 575c18a

Browse files
MonsieurRzMoralCode
authored andcommitted
Updating Manifest according to current state of flutter_reactive_ble
1 parent 4ddc3eb commit 575c18a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

example/android/app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.example.fresh_example">
3+
<!-- https://developer.android.com/guide/topics/connectivity/bluetooth/permissions -->
4+
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
5+
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
6+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />
7+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:maxSdkVersion="30" />
8+
39
<application
410
android:label="fresh_example"
511
android:icon="@mipmap/ic_launcher">
@@ -9,7 +15,8 @@
915
android:theme="@style/LaunchTheme"
1016
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1117
android:hardwareAccelerated="true"
12-
android:windowSoftInputMode="adjustResize">
18+
android:windowSoftInputMode="adjustResize"
19+
android:exported="true">
1320
<!-- Specifies an Android theme to apply to this Activity as soon as
1421
the Android process has started. This theme is visible to the user
1522
while the Flutter UI initializes. After that, this theme continues

0 commit comments

Comments
 (0)