Commit 5cbf9035 authored by Alex朱枝文's avatar Alex朱枝文

增加有可能走的两处回调

parent 57074102
......@@ -330,6 +330,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
if let host = url.host, host.contains("platformId=wechat") {
return WXApi.handleOpen(url, delegate: self)
}
if handleAntomPayWithString(from: url.absoluteString) {
return true
}
if YHAnalytics.handleSchemeUrl(url) ?? false {
return true
}
......@@ -348,6 +351,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
}
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
if handleAntomPayWithString(from: url.absoluteString) {
return true
}
return WXApi.handleOpen(url, delegate: self)
}
......
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