AndroidManifest.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="com.example.logisticsclient">
  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. <!-- io.flutter.app.FlutterApplication is an android.app.Application that
  9. calls FlutterMain.startInitialization(this); in its onCreate method.
  10. In most cases you can leave this as-is, but you if you want to provide
  11. additional functionality it is fine to subclass or reimplement
  12. FlutterApplication and put your custom class here. -->
  13. <uses-permission android:name="android.permission.INTERNET"/>
  14. <!-- 使用蓝牙的权限 -->
  15. <uses-permission android:name="android.permission.BLUETOOTH" />
  16. <!-- 扫描蓝牙设备或者操作蓝牙设置 -->
  17. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  18. <!--模糊定位权限,仅作用于6.0+-->
  19. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  20. <!--精准定位权限,仅作用于6.0+-->
  21. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  22. <!-- 摄像头权限 -->
  23. <uses-permission android:name="android.permission.CAMERA" />
  24. å
  25. <application
  26. android:name="io.flutter.app.FlutterApplication"
  27. android:label="物流助手"
  28. android:icon="@mipmap/ic_launcher">
  29. <activity
  30. android:name=".MainActivity"
  31. android:launchMode="singleTop"
  32. android:theme="@style/LaunchTheme"
  33. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
  34. android:hardwareAccelerated="true"
  35. android:screenOrientation="portrait"
  36. android:windowSoftInputMode="adjustResize">
  37. <!-- This keeps the window background of the activity showing
  38. until Flutter renders its first frame. It can be removed if
  39. there is no splash screen (such as the default splash screen
  40. defined in @style/LaunchTheme). -->
  41. <meta-data
  42. android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
  43. android:value="true" />
  44. <intent-filter>
  45. <action android:name="android.intent.action.MAIN"/>
  46. <category android:name="android.intent.category.LAUNCHER"/>
  47. </intent-filter>
  48. </activity>
  49. <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>
  50. </application>
  51. </manifest>