AndroidManifest.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android">
  2. <!-- 请求图片和视频权限 -->
  3. <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
  4. <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
  5. <application
  6. android:name=".AtmobApplication"
  7. android:allowBackup="false"
  8. android:icon="@mipmap/ic_launcher"
  9. android:label="追爱小键盘">
  10. <activity
  11. android:name=".MainActivity"
  12. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  13. android:exported="true"
  14. android:hardwareAccelerated="true"
  15. android:launchMode="singleTop"
  16. android:screenOrientation="portrait"
  17. android:theme="@style/LaunchTheme"
  18. android:windowSoftInputMode="adjustResize">
  19. <!-- Specifies an Android theme to apply to this Activity as soon as
  20. the Android process has started. This theme is visible to the user
  21. while the Flutter UI initializes. After that, this theme continues
  22. to determine the Window background behind the Flutter UI. -->
  23. <meta-data
  24. android:name="io.flutter.embedding.android.NormalTheme"
  25. android:resource="@style/NormalTheme" />
  26. <intent-filter>
  27. <action android:name="android.intent.action.MAIN" />
  28. <category android:name="android.intent.category.LAUNCHER" />
  29. </intent-filter>
  30. </activity>
  31. <!-- 两个动画快速切换容易闪退-->
  32. <meta-data
  33. android:name="io.flutter.embedding.android.EnableImpeller"
  34. android:value="false" />
  35. <!-- 禁用3.29版本的线程合并 -->
  36. <meta-data
  37. android:name="io.flutter.embedding.android.DisableMergedPlatformUIThread"
  38. android:value="true" />
  39. <meta-data
  40. android:name="UMENG_APPKEY"
  41. android:value="680dcdadbc47b67d834e37bb" />
  42. <!-- Don't delete the meta-data below.
  43. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  44. <meta-data
  45. android:name="flutterEmbedding"
  46. android:value="2" />
  47. </application>
  48. <!-- Required to query activities that can process text, see:
  49. https://developer.android.com/training/package-visibility and
  50. https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
  51. In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
  52. <queries>
  53. <intent>
  54. <action android:name="android.intent.action.PROCESS_TEXT" />
  55. <data android:mimeType="text/plain" />
  56. </intent>
  57. </queries>
  58. </manifest>