fix: 修复安卓打包后,在手机上无法调起前置摄像头的问题

xgf-training-dev
mengfanliang 2025-02-26 20:01:39 +08:00
parent 5fc0371ff4
commit 48666f30c0
1 changed files with 25 additions and 18 deletions

View File

@ -1,6 +1,6 @@
{ {
"name" : "秦港相关方", "name" : "秦港相关方",
"appid" : "__UNI__97E1400", "appid" : "__UNI__1CB19A9",
"description" : "秦港相关方", "description" : "秦港相关方",
"versionName" : "1.0.42", "versionName" : "1.0.42",
"versionCode" : 42, "versionCode" : 42,
@ -26,6 +26,7 @@
"VideoPlayer" : {}, "VideoPlayer" : {},
"iBeacon" : {}, "iBeacon" : {},
"Fingerprint" : {}, "Fingerprint" : {},
"LivePusher" : {},
"Camera" : {}, "Camera" : {},
"Maps" : {} "Maps" : {}
}, },
@ -34,23 +35,29 @@
/* android */ /* android */
"android" : { "android" : {
"permissions" : [ "permissions" : [
"<uses-permission android:name=\"android.permission.INTERNET\" />", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\" />", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" />", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"com.asus.msa.SupplementaryDID.ACCESS\" />", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"com.huawei.android.launcher.permission.CHANGE_BADGE\" />", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\" />", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\" />", "<uses-permission android:name=\"android.permission.READ_SMS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />", "<uses-permission android:name=\"android.permission.READ_VOICEMAIL\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />", "<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\" />", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\" />", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\" />", "<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.INTERNET\"/>",
] "<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.VIDEO_CAPTURE\" />",
"<uses-permission android:name=\"android.permission.AUDIO_CAPTURE\" />"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
}, },
/* ios */ /* ios */
"ios" : { "ios" : {