AndroidManifest.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android">
  2. <uses-permission android:name="android.permission.VIBRATE" />
  3. <uses-permission android:name="android.permission.INTERNET" />
  4. <uses-permission android:name="com.google.android.gms.permission.AD_ID" />
  5. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  6. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
  7. <application
  8. android:label="Jigsort Solitaire"
  9. android:name="${applicationName}"
  10. android:hardwareAccelerated="true"
  11. android:icon="@mipmap/launcher_icon">
  12. <!-- 还是使用skia引擎,稳定性好点-->
  13. <meta-data
  14. android:name="io.flutter.embedding.android.EnableImpeller"
  15. android:value="false" />
  16. <meta-data
  17. android:name="io.flutter.embedding.android.Renderer"
  18. android:value="skia" />
  19. <activity
  20. android:name=".MainActivity"
  21. android:exported="true"
  22. android:launchMode="singleTop"
  23. android:taskAffinity=""
  24. android:theme="@style/LaunchTheme"
  25. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  26. android:hardwareAccelerated="true"
  27. android:windowSoftInputMode="adjustResize">
  28. <!-- Specifies an Android theme to apply to this Activity as soon as
  29. the Android process has started. This theme is visible to the user
  30. while the Flutter UI initializes. After that, this theme continues
  31. to determine the Window background behind the Flutter UI. -->
  32. <meta-data
  33. android:name="io.flutter.embedding.android.NormalTheme"
  34. android:resource="@style/NormalTheme"
  35. />
  36. <intent-filter>
  37. <action android:name="android.intent.action.MAIN"/>
  38. <category android:name="android.intent.category.LAUNCHER"/>
  39. </intent-filter>
  40. </activity>
  41. <!-- Don't delete the meta-data below.
  42. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  43. <meta-data
  44. android:name="flutterEmbedding"
  45. android:value="2" />
  46. <meta-data
  47. android:name="com.google.android.gms.ads.APPLICATION_ID"
  48. android:value="ca-app-pub-7123620590758627~9715330180"/>
  49. <meta-data
  50. android:name="com.facebook.sdk.ApplicationId"
  51. android:value="2126449314427718" />
  52. </application>
  53. <!-- Required to query activities that can process text, see:
  54. https://developer.android.com/training/package-visibility and
  55. https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
  56. In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
  57. <queries>
  58. <intent>
  59. <action android:name="android.intent.action.PROCESS_TEXT"/>
  60. <data android:mimeType="text/plain"/>
  61. </intent>
  62. </queries>
  63. </manifest>