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