|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
package="com.flutter.hyzp_ybqx01_cuiping">
|
|
|
<!-- * What went wrong:
|
|
|
Execution failed for task ':app:generateDebugBuildConfig'.
|
|
|
> org.xml.sax.SAXParseException; systemId: file:/R:/FlutterProject/FlutterProject33/hyzp_ybqx/android/app/src/main/AndroidManifest.xml; lineNumber: 69; columnNumber: 48; <20><>Ԫ
|
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "provider" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "tools:replace" <20><>ǰ "tools" δ<><CEB4><EFBFBD>
|
|
|
解决:引入xmlns:tools="http://schemas.android.com/tools"
|
|
|
-->
|
|
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
|
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
|
|
In most cases you can leave this as-is, but you if you want to provide
|
|
|
additional functionality it is fine to subclass or reimplement
|
|
|
FlutterApplication and put your custom class here.
|
|
|
|
|
|
D/ScrollView(16549): onsize change changed
|
|
|
必须使用 android:theme="@style/Theme.AppCompat" 代替 android:theme="@style/LaunchTheme",否则在Android 10以下的低版本打开生物识别窗口时会报错:
|
|
|
I/flutter ( 4177): e = PlatformException(error, You need to use a Theme.AppCompat theme (or descendant) with this activity., null)
|
|
|
没有生物识别的失败报错:e = PlatformException(NotEnrolled, No Biometrics enrolled on this device., null) -->
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>
|
|
|
<!-- 用于访问wifi网络信息,wifi信息会用于进行网络定位 -->
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
<!-- 获取网络状态,根据网络状态切换进行数据请求网络转换 -->
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
<!-- 访问网络,进行地图相关业务数据请求,包括地图数据,路线规划,POI检索等 -->
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
|
<!-- android:label="宜宾黑烟抓拍"-->
|
|
|
<!-- android:label="宜宾市翠屏黑烟抓拍"-->
|
|
|
<application
|
|
|
android:name="com.flutter.hyzp_ybqx01_cuiping.MyApplication"
|
|
|
android:icon="@mipmap/ic_launcher"
|
|
|
android:label="宜宾市翠屏黑烟抓拍"
|
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
|
android:usesCleartextTraffic="true"
|
|
|
tools:replace="android:label">
|
|
|
<meta-data
|
|
|
android:name="com.flutter.hyzp_yibin_bmfmap.API_KEY"
|
|
|
android:value="uKm7T5xBm5dG6Dr5aIxCcXK7YQ6iDCGj" />
|
|
|
|
|
|
<provider
|
|
|
android:name="vn.hunghd.flutterdownloader.DownloadedFileProvider"
|
|
|
android:authorities="${applicationId}.flutter_downloader.provider"
|
|
|
android:exported="false"
|
|
|
android:grantUriPermissions="true">
|
|
|
<meta-data
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
android:resource="@xml/provider_paths" />
|
|
|
</provider>
|
|
|
|
|
|
<provider
|
|
|
android:name="androidx.work.impl.WorkManagerInitializer"
|
|
|
android:authorities="${applicationId}.workmanager-init"
|
|
|
android:enabled="false"
|
|
|
android:exported="false" />
|
|
|
|
|
|
<provider
|
|
|
android:name="vn.hunghd.flutterdownloader.FlutterDownloaderInitializer"
|
|
|
android:authorities="${applicationId}.flutter-downloader-init"
|
|
|
android:exported="false">
|
|
|
<!-- changes this number to configure the maximum number of concurrent tasks -->
|
|
|
<meta-data
|
|
|
android:name="vn.hunghd.flutterdownloader.MAX_CONCURRENT_TASKS"
|
|
|
android:value="5" />
|
|
|
</provider>
|
|
|
|
|
|
<provider
|
|
|
android:name="androidx.core.content.FileProvider"
|
|
|
android:authorities="${applicationId}.fileProvider"
|
|
|
android:exported="false"
|
|
|
android:grantUriPermissions="true"
|
|
|
tools:replace="android:authorities">
|
|
|
<meta-data
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
android:resource="@xml/filepaths"
|
|
|
tools:replace="android:resource" />
|
|
|
</provider>
|
|
|
|
|
|
<activity
|
|
|
android:name=".MainActivity"
|
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
|
android:hardwareAccelerated="true"
|
|
|
android:launchMode="singleTop"
|
|
|
android:screenOrientation="portrait"
|
|
|
android:theme="@style/Theme.AppCompat"
|
|
|
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
|
|
|
while the Flutter UI initializes. After that, this theme continues
|
|
|
to determine the Window background behind the Flutter UI. -->
|
|
|
<meta-data
|
|
|
android:name="io.flutter.embedding.android.NormalTheme"
|
|
|
android:resource="@style/NormalTheme" />
|
|
|
<!-- Displays an Android View that continues showing the launch screen
|
|
|
Drawable until Flutter paints its first frame, then this splash
|
|
|
screen fades out. A splash screen is useful to avoid any visual
|
|
|
gap between the end of Android's launch screen and the painting of
|
|
|
Flutter's first frame. -->
|
|
|
<meta-data
|
|
|
android:name="io.flutter.embedding.android.SplashScreenDrawable"
|
|
|
android:resource="@drawable/launch_background" />
|
|
|
<intent-filter>
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
</intent-filter>
|
|
|
</activity>
|
|
|
<!-- Don't delete the meta-data below.
|
|
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
|
<meta-data
|
|
|
android:name="flutterEmbedding"
|
|
|
android:value="2" />
|
|
|
</application>
|
|
|
</manifest>
|