|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | 2 | 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 | + |
3 | 9 | <application |
4 | 10 | android:label="fresh_example" |
5 | 11 | android:icon="@mipmap/ic_launcher"> |
|
9 | 15 | android:theme="@style/LaunchTheme" |
10 | 16 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
11 | 17 | android:hardwareAccelerated="true" |
12 | | - android:windowSoftInputMode="adjustResize"> |
| 18 | + android:windowSoftInputMode="adjustResize" |
| 19 | + android:exported="true"> |
13 | 20 | <!-- Specifies an Android theme to apply to this Activity as soon as |
14 | 21 | the Android process has started. This theme is visible to the user |
15 | 22 | while the Flutter UI initializes. After that, this theme continues |
|
18 | 25 | android:name="io.flutter.embedding.android.NormalTheme" |
19 | 26 | android:resource="@style/NormalTheme" |
20 | 27 | /> |
21 | | - <!-- Displays an Android View that continues showing the launch screen |
22 | | - Drawable until Flutter paints its first frame, then this splash |
23 | | - screen fades out. A splash screen is useful to avoid any visual |
24 | | - gap between the end of Android's launch screen and the painting of |
25 | | - Flutter's first frame. --> |
26 | | - <meta-data |
27 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
28 | | - android:resource="@drawable/launch_background" |
29 | | - /> |
30 | 28 | <intent-filter> |
31 | 29 | <action android:name="android.intent.action.MAIN"/> |
32 | 30 | <category android:name="android.intent.category.LAUNCHER"/> |
|
0 commit comments