修改mainfest解决打包报错

This commit is contained in:
liub
2025-09-25 15:58:33 +08:00
parent 15d99211a0
commit 457197ca54
4 changed files with 25 additions and 34 deletions

View File

@ -2,7 +2,7 @@
"name" : "星汉物联",
"appid" : "__UNI__A21EF43",
"description" : "设备管控",
"versionName" : "1.0.30",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
@ -18,8 +18,8 @@
},
/* */
"modules" : {
"Bluetooth" : {},
"Barcode" : {},
"Bluetooth" : {},
"Camera" : {},
"Geolocation" : {},
"Maps" : {}
@ -53,20 +53,19 @@
"<uses-permission android:name=\"android.permission.a\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_CONNECT\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"minSdkVersion" : 21
"minSdkVersion" : 21,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
/* ios */
"ios" : {
"appid" : "uni.app.UNIA21EF43",
"dSYMs" : false,
"privacyDescription" : {
"NSBluetoothPeripheralUsageDescription" : "需要蓝牙访问权限,用于设备通信",
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信",
"NSLocationWhenInUseUsageDescription" : "App需要您的同意,才能在使用期间访问位置",
"NSLocationAlwaysUsageDescription" : "App需要您的同意,才能始终访问位置",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "App需要您的同意,才能始终访问位置"
"NSLocationAlwaysAndWhenInUseUsageDescription" : "App需要您的同意,才能始终访问位置",
"NSBluetoothPeripheralUsageDescription" : "需要蓝牙访问权限,用于设备通信",
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信"
},
"dSYMs" : false,
"idfa" : false
},
/* SDK */
@ -80,26 +79,11 @@
}
},
"maps" : {
"customStyle" : true,
"amap" : {
"name" : "amapHG8nIFW5",
"appkey_ios" : "065c43f02c7b627a74ad7dd23b16bb4f",
"appkey_android" : "d7d852dbda2b95f6f796fb9a711a9fee"
}
},
"oauth" : {},
"push" : {},
"speech" : {},
"ad" : {}
},
"splashscreen" : {
"useOriginalMsgbox" : true,
"androidStyle" : "common",
"iosStyle" : "common",
"android" : {
"hdpi" : "static/images/biao.png",
"xhdpi" : "static/images/biao.png",
"xxhdpi" : "static/images/biao.png"
}
},
"icons" : {
@ -133,6 +117,9 @@
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen" : {
"useOriginalMsgbox" : true
}
}
},
@ -162,3 +149,5 @@
"locale" : "zh-Hans",
"fallbackLocale" : "zh-Hans"
}
/* 5+App */