1、相心美颜So文件静默加载增加下载失败、解压失败重试机制和多次失败后的提示

This commit is contained in:
老皮
2024-09-26 09:40:53 +08:00
parent e69796e158
commit 2e84e799d4
7 changed files with 56 additions and 27 deletions

View File

@@ -145,6 +145,10 @@ public class CommonAppConfig {
private int mAppIconRes;
private String mAppName;
private Boolean mTiBeautyEnable;//是否使用萌颜 true使用萌颜 false 使用基础美颜
// 美颜SDK是否已经加载成功
public static boolean faceSDKIsLoadSuceness;
// 美颜SDK是否下载失败或者解压失败(自动试3次)
public static boolean faceSDKDownLoadOrUnZipFailed = false;
public String getUid() {
if (TextUtils.isEmpty(mUid)) {

View File

@@ -827,6 +827,7 @@
<string name="only_open_anchor">暫時只對主播開放</string>
<string name="wait_face_sdk_load">請稍等美顏SDK加載中</string>
<string name="face_sdk_load_failed">美顏SDK加載失敗請重啟App</string>
<string name="facebook_app_id">2011402032399020</string>
<string name="facebook_client_token">959584e054a33614996361f0044e5253</string>

View File

@@ -787,6 +787,7 @@
<string name="only_open_anchor">For the time being, it is only open to the anchor</string>
<string name="wait_face_sdk_load">Please wait, the beauty SDK is loading.</string>
<string name="face_sdk_load_failed">Beauty SDK failed to load, please restart the App</string>
<string name="facebook_app_id">2011402032399020</string>
<string name="facebook_client_token">959584e054a33614996361f0044e5253</string>