AndroidManifest.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="com.june.fffmpeg_example">
  3. <!-- io.flutter.app.FlutterApplication is an android.app.Application that
  4. calls FlutterMain.startInitialization(this); in its onCreate method.
  5. In most cases you can leave this as-is, but you if you want to provide
  6. additional functionality it is fine to subclass or reimplement
  7. FlutterApplication and put your custom class here. -->
  8. <!-- Camera permissions -->
  9. <uses-feature android:name="android.hardware.camera" />
  10. <uses-feature android:name="android.hardware.camera.autofocus" />
  11. <uses-permission android:name="android.permission.CAMERA" />
  12. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  13. <uses-permission android:name="android.permission.FLASHLIGHT" />
  14. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  15. <application
  16. android:name="io.flutter.app.FlutterApplication"
  17. android:label="fffmpeg_example"
  18. android:icon="@mipmap/ic_launcher">
  19. <activity
  20. android:name=".MainActivity"
  21. android:launchMode="singleTop"
  22. android:theme="@style/LaunchTheme"
  23. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  24. android:hardwareAccelerated="true"
  25. android:windowSoftInputMode="adjustResize">
  26. <!-- Specifies an Android theme to apply to this Activity as soon as
  27. the Android process has started. This theme is visible to the user
  28. while the Flutter UI initializes. After that, this theme continues
  29. to determine the Window background behind the Flutter UI. -->
  30. <meta-data
  31. android:name="io.flutter.embedding.android.NormalTheme"
  32. android:resource="@style/NormalTheme"
  33. />
  34. <!-- Displays an Android View that continues showing the launch screen
  35. Drawable until Flutter paints its first frame, then this splash
  36. screen fades out. A splash screen is useful to avoid any visual
  37. gap between the end of Android's launch screen and the painting of
  38. Flutter's first frame. -->
  39. <meta-data
  40. android:name="io.flutter.embedding.android.SplashScreenDrawable"
  41. android:resource="@drawable/launch_background"
  42. />
  43. <intent-filter>
  44. <action android:name="android.intent.action.MAIN"/>
  45. <category android:name="android.intent.category.LAUNCHER"/>
  46. </intent-filter>
  47. </activity>
  48. <!-- Don't delete the meta-data below.
  49. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  50. <meta-data
  51. android:name="flutterEmbedding"
  52. android:value="2" />
  53. </application>
  54. </manifest>