Skip to content

iOS上处理Url Scheme有问题 #7

Closed

Description

@feimenggo

这里不能直接返回true,会把其它库的scheme给拦截了。例如:微博登录SDK就无法收到回调了。

public func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
let args: NSDictionary = [
"url": url.absoluteString,
]
channel.invokeMethod("onProtocolUrlReceived", arguments: args, result: nil)
return true

Activity

  1. added a commit that references this issue on Dec 18, 2023
  2. lijy91 commented on Jan 28, 2024

    @lijy91
    Member

    已修复,请更新到 0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions