alexiscn / CloudServiceKit

Cloud Drive(GoogleDrive/Dropbox/BaiduPan/OneDrive/pCloud) File Management
MIT License
45 stars 15 forks source link

您好,demo 跑起来了,但是没跳转到文件列表页面呢 #11

Closed freddiezhao closed 3 months ago

freddiezhao commented 3 months ago

demo 跑起来了,但是没跳转到文件列表页面呢,直接在 webview 里面打开了授权回调的URL了,然后就没有任何反应了,

这里也没有任何的事件被捕捉到:

func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {

    guard let url = URLContexts.first?.url else {
        return
    }
    if url.host == "https://test.aliyundrive.com" {
        OAuthSwift.handle(url: url)
    }
}

IMG_7406

alexiscn commented 3 months ago

fixed in commit 763d3eb6f572e364f7b72601fc53536222d2c8c0

freddiezhao commented 3 months ago

fixed in commit 763d3eb

非常感谢,已经可以正常跳转了,再次感谢您及时的回复.