AndroidManifest.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android">
  2. <application
  3. android:allowBackup="false"
  4. android:label="location"
  5. android:name="${applicationName}"
  6. android:icon="@mipmap/ic_launcher">
  7. <activity
  8. android:name=".MainActivity"
  9. android:exported="true"
  10. android:launchMode="singleTop"
  11. android:taskAffinity=""
  12. android:theme="@style/LaunchTheme"
  13. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  14. android:hardwareAccelerated="true"
  15. android:windowSoftInputMode="adjustResize">
  16. <!-- Specifies an Android theme to apply to this Activity as soon as
  17. the Android process has started. This theme is visible to the user
  18. while the Flutter UI initializes. After that, this theme continues
  19. to determine the Window background behind the Flutter UI. -->
  20. <meta-data
  21. android:name="io.flutter.embedding.android.NormalTheme"
  22. android:resource="@style/NormalTheme" />
  23. <intent-filter>
  24. <action android:name="android.intent.action.MAIN" />
  25. <category android:name="android.intent.category.LAUNCHER" />
  26. </intent-filter>
  27. </activity>
  28. <meta-data
  29. android:name="com.amap.api.v2.apikey"
  30. android:value="d10659dc789ae488935bd9e221d81cab" />
  31. <meta-data
  32. android:name="flutterEmbedding"
  33. android:value="2" />
  34. </application>
  35. <!-- Required to query activities that can process text, see:
  36. https://developer.android.com/training/package-visibility and
  37. https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
  38. In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
  39. <queries>
  40. <intent>
  41. <action android:name="android.intent.action.PROCESS_TEXT" />
  42. <data android:mimeType="text/plain" />
  43. </intent>
  44. </queries>
  45. </manifest>