AndroidManifest.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="me.yoqi.flutter.tracker">
  3. <uses-permission android:name="android.permission.INTERNET" />
  4. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  5. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  6. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  7. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  8. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  9. <uses-permission android:name="android.permission.BLUETOOTH" />
  10. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  11. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  12. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  13. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  14. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  15. <uses-feature android:name="android.hardware.location.gps" />
  16. <uses-feature android:name="android.hardware.location.network" />
  17. <uses-feature
  18. android:name="android.hardware.bluetooth_le"
  19. android:required="true" />
  20. <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
  21. <application
  22. android:icon="@drawable/ic_launcher"
  23. android:label="@string/app_name"
  24. android:networkSecurityConfig="@xml/network_security_config">
  25. <activity
  26. android:name=".MainActivity"
  27. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  28. android:hardwareAccelerated="true"
  29. android:launchMode="singleTop"
  30. android:theme="@style/LaunchTheme"
  31. android:windowSoftInputMode="adjustResize">
  32. <!-- Specifies an Android theme to apply to this Activity as soon as
  33. the Android process has started. This theme is visible to the user
  34. while the Flutter UI initializes. After that, this theme continues
  35. to determine the Window background behind the Flutter UI. -->
  36. <meta-data
  37. android:name="io.flutter.embedding.android.NormalTheme"
  38. android:resource="@style/NormalTheme" />
  39. <!-- Displays an Android View that continues showing the launch screen
  40. Drawable until Flutter paints its first frame, then this splash
  41. screen fades out. A splash screen is useful to avoid any visual
  42. gap between the end of Android's launch screen and the painting of
  43. Flutter's first frame. -->
  44. <meta-data
  45. android:name="io.flutter.embedding.android.SplashScreenDrawable"
  46. android:resource="@drawable/launch_background" />
  47. <intent-filter>
  48. <action android:name="android.intent.action.MAIN" />
  49. <category android:name="android.intent.category.LAUNCHER" />
  50. </intent-filter>
  51. </activity>
  52. <!-- Don't delete the meta-data below.
  53. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  54. <meta-data
  55. android:name="flutterEmbedding"
  56. android:value="2" />
  57. </application>
  58. </manifest>