AndroidManifest.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="me.yoqi.flutter.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. <application
  11. android:icon="@drawable/ic_launcher"
  12. android:label="@string/app_name"
  13. android:networkSecurityConfig="@xml/network_security_config">
  14. <activity
  15. android:name=".MainActivity"
  16. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  17. android:hardwareAccelerated="true"
  18. android:launchMode="singleTop"
  19. android:theme="@style/LaunchTheme"
  20. android:windowSoftInputMode="adjustResize">
  21. <!-- Specifies an Android theme to apply to this Activity as soon as
  22. the Android process has started. This theme is visible to the user
  23. while the Flutter UI initializes. After that, this theme continues
  24. to determine the Window background behind the Flutter UI. -->
  25. <meta-data
  26. android:name="io.flutter.embedding.android.NormalTheme"
  27. android:resource="@style/NormalTheme" />
  28. <!-- Displays an Android View that continues showing the launch screen
  29. Drawable until Flutter paints its first frame, then this splash
  30. screen fades out. A splash screen is useful to avoid any visual
  31. gap between the end of Android's launch screen and the painting of
  32. Flutter's first frame. -->
  33. <meta-data
  34. android:name="io.flutter.embedding.android.SplashScreenDrawable"
  35. android:resource="@drawable/launch_background" />
  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. </application>
  47. </manifest>