|
2 | 2 | package="fr.rushioconsulting.flutter_camera_ml_vision_example"
|
3 | 3 | xmlns:tools="http://schemas.android.com/tools">
|
4 | 4 |
|
5 |
| - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
6 |
| - calls FlutterMain.startInitialization(this); in its onCreate method. |
7 |
| - In most cases you can leave this as-is, but you if you want to provide |
8 |
| - additional functionality it is fine to subclass or reimplement |
9 |
| - FlutterApplication and put your custom class here. --> |
10 | 5 | <application
|
11 | 6 | android:name="io.flutter.app.FlutterApplication"
|
12 | 7 | android:label="flutter_camera_ml_vision_example"
|
13 | 8 | android:icon="@mipmap/ic_launcher">
|
14 | 9 | <activity
|
15 |
| - android:name=".MainActivity" |
| 10 | + android:name="io.flutter.embedding.android.FlutterActivity" |
16 | 11 | android:launchMode="singleTop"
|
17 | 12 | android:theme="@style/LaunchTheme"
|
18 | 13 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
19 | 14 | android:hardwareAccelerated="true"
|
20 | 15 | android:windowSoftInputMode="adjustResize">
|
21 |
| - <!-- This keeps the window background of the activity showing |
22 |
| - until Flutter renders its first frame. It can be removed if |
23 |
| - there is no splash screen (such as the default splash screen |
24 |
| - defined in @style/LaunchTheme). --> |
25 |
| - <meta-data |
26 |
| - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
27 |
| - android:value="true" /> |
28 | 16 | <intent-filter>
|
29 | 17 | <action android:name="android.intent.action.MAIN"/>
|
30 | 18 | <category android:name="android.intent.category.LAUNCHER"/>
|
31 | 19 | </intent-filter>
|
32 | 20 | </activity>
|
| 21 | + <meta-data |
| 22 | + android:name="flutterEmbedding" |
| 23 | + android:value="2" /> |
33 | 24 | <meta-data
|
34 | 25 | android:name="com.google.mlkit.vision.DEPENDENCIES"
|
35 | 26 | android:value="barcode" />
|
|
0 commit comments