feat: add WeChat sharing and invite flow

This commit is contained in:
2026-07-07 16:53:39 +08:00
parent f1937e23d4
commit a80c181bd7
160 changed files with 7557 additions and 849 deletions

View File

@ -34,6 +34,15 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}
}
func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
guard let url = URLContexts.first?.url else { return }
_ = WeChatManager.shared.handleOpenURL(url)
}
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
_ = WeChatManager.shared.handleContinueUserActivity(userActivity)
}
private func registerNotifications() {
NotificationCenter.default.addObserver(
self,