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

跨境支付新增jS桥

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