Commit e827b768 authored by Alex朱枝文's avatar Alex朱枝文

文件根据产品需求还是用先前的Safari的方式处理,并打开灰度控制

parent 34a12eda
......@@ -103,12 +103,17 @@ extension YHButlerServiceManager {
customActionConfig?.pullRoamMessage = true
// 拉取漫游消息条数,默认20条,最大100条
customActionConfig?.roamMessageLimit = 100
/*
// 后续需要处理自己的业务再打开
customActionConfig?.linkClickBlock = { linkAddress in
return QYLinkClickActionPolicy.open
guard let linkAddress = linkAddress, (linkAddress.isValidHttpUrl || linkAddress.isValidHttpsUrl || linkAddress.isValidFileUrl), let url = URL(string: linkAddress) else {
return QYLinkClickActionPolicy.open
}
let safariViewController = SFSafariViewController(url: url)
safariViewController.dismissButtonStyle = .close
safariViewController.modalPresentationStyle = .fullScreen
UIViewController.current?.present(safariViewController, animated: true, completion: nil)
return QYLinkClickActionPolicy.cancel
}
*/
}
}
......@@ -120,7 +125,7 @@ extension YHButlerServiceManager {
func isUatAllowed() -> Bool {
let allowed = YHUatHelper.shared.getUatModuleStatusBy(module: .QiYu_Service) == 1
//TODO: for test Alex
return allowed || true
return allowed
}
/// 初始化SDK用户信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment