|
|
|
@ -5,7 +5,8 @@
|
|
|
|
|
additional functionality it is fine to subclass or reimplement
|
|
|
|
|
FlutterApplication and put your custom class here. -->
|
|
|
|
|
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧社区管家端" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
|
|
|
|
|
<meta-data android:name="com.amap.api.v2.apikey" android:value="872b909f2ebc8150b809d692c4349f22"/>
|
|
|
|
|
<service android:name="com.amap.api.location.APSService"/>
|
|
|
|
|
<meta-data android:name="com.amap.api.v2.apikey" android:value="01b4902aa29bd50ae71ccc2c920ceb10"/>
|
|
|
|
|
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
|
|
|
|
|
<!-- Specifies an Android theme to apply to this Activity as soon as
|
|
|
|
|
the Android process has started. This theme is visible to the user
|
|
|
|
@ -30,4 +31,28 @@
|
|
|
|
|
android:resource="@xml/network_security_config"/>
|
|
|
|
|
|
|
|
|
|
</application>
|
|
|
|
|
<!--允许程序打开网络套接字-->
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
<!--允许程序设置内置sd卡的写权限-->
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
<!--允许程序获取网络状态-->
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
|
<!--允许程序访问WiFi网络信息-->
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
|
<!--允许程序读写手机状态和身份-->
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
|
<!--允许程序访问CellID或WiFi热点来获取粗略的位置-->
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
|
<!-- 保存照片到相册 -->
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
<!-- 打开相册选取图片 -->
|
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
|
|
<!--获取相机权限-->
|
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
|
<!-- <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/> -->
|
|
|
|
|
<!--获取网络-->
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH"/>
|
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
|
|
|
|
<uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
|
|
|
|
</manifest>
|
|
|
|
|