AndroidManifest.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="com.yubo.flutterosc">
  3. <!-- The INTERNET permission is required for development. Specifically,
  4. flutter needs it to communicate with the running application
  5. to allow setting breakpoints, to provide hot reload, etc.
  6. -->
  7. <uses-permission android:name="android.permission.INTERNET"/>
  8. <uses-permission android:name="android.permission.CAMERA" />
  9. <!-- io.flutter.app.FlutterApplication is an android.app.Application that
  10. calls FlutterMain.startInitialization(this); in its onCreate method.
  11. In most cases you can leave this as-is, but you if you want to provide
  12. additional functionality it is fine to subclass or reimplement
  13. FlutterApplication and put your custom class here. -->
  14. <application
  15. android:name="io.flutter.app.FlutterApplication"
  16. android:label="flutter_osc"
  17. android:icon="@mipmap/ic_launcher">
  18. <activity
  19. android:name=".MainActivity"
  20. android:launchMode="singleTop"
  21. android:theme="@style/LaunchTheme"
  22. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale"
  23. android:hardwareAccelerated="true"
  24. android:windowSoftInputMode="adjustResize">
  25. <!-- This keeps the window background of the activity showing
  26. until Flutter renders its first frame. It can be removed if
  27. there is no splash screen (such as the default splash screen
  28. defined in @style/LaunchTheme). -->
  29. <meta-data
  30. android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
  31. android:value="true" />
  32. <intent-filter>
  33. <action android:name="android.intent.action.MAIN"/>
  34. <category android:name="android.intent.category.LAUNCHER"/>
  35. </intent-filter>
  36. </activity>
  37. <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>
  38. </application>
  39. </manifest>