Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

680 B
Raw Blame
import ExpoModulesCore

/** Forwards WeChat custom-scheme and universal-link responses to the shared SDK delegate. */
public class XdtWechatLoginAppDelegateSubscriber: ExpoAppDelegateSubscriber {
  public func application(
    _ app: UIApplication,
    open url: URL,
    options: [UIApplication.OpenURLOptionsKey: Any] = [:]
  ) -> Bool {
    return XdtWechatAuthCoordinator.shared.handleOpen(url)
  }

  public func application(
    _ application: UIApplication,
    continue userActivity: NSUserActivity,
    restorationHandler: @escaping ([any UIUserActivityRestoring]?) -> Void
  ) -> Bool {
    return XdtWechatAuthCoordinator.shared.handleUniversalLink(userActivity)
  }
}