提问人:An Tran 提问时间:2/16/2023 最后编辑:An Tran 更新时间:2/16/2023 访问量:199
Flutter 生成了很多 AndroidManifest.xml 中未声明的 android 权限
Flutter generates a lot of android permissions not declared in AndroidManifest.xml
问:
我正在将应用上传到 Google Play 商店进行内部测试。 Google 报告了一个错误,并要求我在 AndroidManifest.xml 文件中声明“android.permission.READ_PHONE_STATE”权限,但我的应用不使用此权限。列表中还列出了许多其他权限。
这是 pubspec.yaml 文件。
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_cupertino_localizations: ^1.0.1
cupertino_icons: ^1.0.2
path_provider: ^2.0.8
equatable: ^2.0.3
excel:
git: https://github.com/justkawal/excel
shared_preferences: ^2.0.15
connectivity_plus: ^2.2.0
http_parser: ^4.0.0
dio: ^4.0.0
get: ^4.6.1
hive: ^2.2.3
hive_flutter: ^1.1.0
flutter_spinkit: ^5.1.0
shimmer: ^2.0.0
another_flushbar: ^1.10.28
flutter_svg: ^1.0.3
cached_network_image: ^3.1.0
image_picker: ^0.8.1+4
flutter_image_compress: ^1.0.0
geolocator: ^9.0.1
geocoding: ^2.0.2
tutorial_coach_mark: ^1.2.1
jiffy: ^5.0.0
file_picker: ^5.0.1
permission_handler: ^10.0.0
package_info_plus: ^1.4.2
json_annotation: ^4.7.0
control_style: ^0.0.2
timezone: ^0.8.0
flutter_native_timezone: ^2.0.0
rxdart: ^0.27.5
assets_audio_player:
path: plugins/assets-audio-player
flutter_device_type: ^0.4.0
fading_edge_scrollview: ^3.0.0
awesome_notifications: ^0.7.3
intl: ^0.17.0
url_launcher: ^6.1.6
flutter_phoenix: ^1.1.0
video_player: ^2.4.7
simple_shadow: ^0.3.0
timer_controller: ^1.0.0
change_app_package_name: ^1.1.0
firebase_core: ^2.5.0
firebase_crashlytics: ^3.0.12
photo_view: ^0.14.0
我检查了项目中使用的库,但仍然没有找到这些权限。 我想知道如何从我的应用程序中删除这些权限。
非常感谢!
答: 暂无答案
评论