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

跨境支付新增jS桥

parent eb98cc51
......@@ -45,10 +45,11 @@ platform :ios do
GZL = "GZL"
xq = "xq"
webFix = "develop_bugfix_web"
kjzf = "kjzf"
#打包正使用的分支
myPack_branch = xq
myPack_branch = kjzf
# 打adhoc包 执行命令 fastlane galaxyTest
......
......@@ -18,6 +18,14 @@ class YHJsApi: NSObject {
}
extension YHJsApi {
// 37、查看是否安装了某个应用
@objc func isSomeAppInstalled(_ tag: String, handler: @escaping (String) -> Void) {
if let url = URL(string: tag), UIApplication.shared.canOpenURL(url) {
handler("1")
} else {
handler("0")
}
}
// 32、 H5跳转App智能体会话页面
@objc func goAgentChatPage(_ dicData: String) {
......
......@@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
......@@ -106,6 +104,9 @@
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>alipay</string>
<string>alipayconnect</string>
<string>alipayhk</string>
<string>weixin</string>
<string>weixinULAPI</string>
<string>weixinURLParamsAPI</string>
......@@ -136,6 +137,8 @@
<key>UIImageName</key>
<string>AppIcon</string>
</dict>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>agc_applinking_not_read_pasteboard</key>
<false/>
</dict>
......
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