AndroidManifest.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android">
  2. <uses-permission android:name="android.permission.INTERNET" />
  3. <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
  4. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  5. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  6. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  7. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
  8. <application
  9. android:label="project02marinzhang"
  10. android:name="${applicationName}"
  11. android:icon="@mipmap/ic_launcher">
  12. <activity
  13. android:name=".MainActivity"
  14. android:exported="true"
  15. android:launchMode="singleTop"
  16. android:theme="@style/LaunchTheme"
  17. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  18. android:hardwareAccelerated="true"
  19. android:windowSoftInputMode="adjustResize">
  20. <!-- Specifies an Android theme to apply to this Activity as soon as
  21. the Android process has started. This theme is visible to the user
  22. while the Flutter UI initializes. After that, this theme continues
  23. to determine the Window background behind the Flutter UI. -->
  24. <meta-data
  25. android:name="io.flutter.embedding.android.NormalTheme"
  26. android:resource="@style/NormalTheme"
  27. />
  28. <intent-filter>
  29. <action android:name="android.intent.action.MAIN"/>
  30. <category android:name="android.intent.category.LAUNCHER"/>
  31. </intent-filter>
  32. </activity>
  33. <!-- Don't delete the meta-data below.
  34. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  35. <meta-data
  36. android:name="flutterEmbedding"
  37. android:value="2" />
  38. </application>
  39. </manifest>