57 lines
2.6 KiB
XML
57 lines
2.6 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.apptreesoftware.barcodescanexample">
|
|
|
|
<!-- The INTERNET permission is required for development. Specifically,
|
|
flutter needs it to communicate with the running application
|
|
to allow setting breakpoints, to provide hot reload, etc.
|
|
-->
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
|
In most cases you can leave this as-is, but you if you want to provide
|
|
additional functionality it is fine to subclass or reimplement
|
|
FlutterApplication and put your custom class here. -->
|
|
<application
|
|
android:name="io.flutter.app.FlutterApplication"
|
|
android:label="barcode_scan_example"
|
|
android:icon="@mipmap/ic_launcher">
|
|
<activity
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
|
|
android:hardwareAccelerated="true"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:name=".EmbeddingV1Activity"
|
|
android:theme="@style/LaunchTheme"
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<meta-data
|
|
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
|
|
android:value="true"/>
|
|
</activity>
|
|
|
|
<activity
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
|
|
android:hardwareAccelerated="true"
|
|
android:launchMode="singleTop"
|
|
android:name=".MainActivity"
|
|
android:theme="@style/LaunchTheme"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<!-- Specify that the launch screen should continue being displayed -->
|
|
<!-- until Flutter renders its first frame. -->
|
|
<meta-data
|
|
android:name="io.flutter.embedding.android.SplashScreenDrawable"
|
|
android:resource="@drawable/launch_background" />
|
|
|
|
<!-- Theme to apply as soon as Flutter begins rendering frames -->
|
|
<meta-data
|
|
android:name="io.flutter.embedding.android.NormalTheme"
|
|
android:resource="@android:style/Theme.Black.NoTitleBar"
|
|
/>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|