AndroidManifest.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="yoqi.me.flutternote">
  3. <!-- The INTERNET permission is required for development. Specifically,
  4. flutter needs it to communicate with the running application
  5. to allow setting breakpoints, to provide hot reload, etc.
  6. -->
  7. <uses-permission android:name="android.permission.INTERNET"/>
  8. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  9. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  10. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  11. <!-- io.flutter.app.FlutterApplication is an android.app.Application that
  12. calls FlutterMain.startInitialization(this); in its onCreate method.
  13. In most cases you can leave this as-is, but you if you want to provide
  14. additional functionality it is fine to subclass or reimplement
  15. FlutterApplication and put your custom class here. -->
  16. <application
  17. android:label="flutter_note"
  18. android:icon="@mipmap/ic_launcher">
  19. <meta-data
  20. android:name="com.amap.api.v2.apikey"
  21. android:value="14ece3f2826950a4250d19726c8436ff" />
  22. <activity
  23. android:name=".MainActivity"
  24. android:launchMode="singleTop"
  25. android:theme="@style/LaunchTheme"
  26. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
  27. android:hardwareAccelerated="true"
  28. android:windowSoftInputMode="adjustResize">
  29. <!-- This keeps the window background of the activity showing
  30. until Flutter renders its first frame. It can be removed if
  31. there is no splash screen (such as the default splash screen
  32. defined in @style/LaunchTheme). -->
  33. <meta-data
  34. android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
  35. android:value="true" />
  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. <meta-data
  42. android:name="flutterEmbedding"
  43. android:value="2" />
  44. </application>
  45. </manifest>