fix(iOS打包): 添加非豁免加密配置项避免手动处理加密问卷
在iOS打包后处理脚本中添加ITSAppUsesNonExemptEncryption配置,设为false表示未使用非豁免加密,无需每次提交时手动回答苹果加密相关问卷
This commit is contained in:
parent
0a5b4d04cb
commit
457fee5651
@ -17,8 +17,9 @@ public class iOSPermissionPostProcessor
|
|||||||
|
|
||||||
PlistElementDict rootDict = plist.root;
|
PlistElementDict rootDict = plist.root;
|
||||||
|
|
||||||
// 添加摄像头权限描述
|
// 声明 App 仅使用豁免加密(标准 HTTPS/TLS),避免每次提交时手动回答加密文稿问卷
|
||||||
rootDict.SetString("NSCameraUsageDescription", "Camera access is used to scan the QR code on your device for pairing. For example, scan the QR code on the device body to complete the connection.");
|
// 值设为 false:未使用非豁免加密
|
||||||
|
rootDict.SetBoolean("ITSAppUsesNonExemptEncryption", false);
|
||||||
|
|
||||||
File.WriteAllText(plistPath, plist.WriteToString());
|
File.WriteAllText(plistPath, plist.WriteToString());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user