Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: bridge 支持同步的 JS-Native 交互 #10

Closed
wants to merge 4 commits into from
Closed

feature: bridge 支持同步的 JS-Native 交互 #10

wants to merge 4 commits into from

Conversation

wjiuxing
Copy link
Contributor

@wjiuxing wjiuxing commented Jan 16, 2020

Hi Karosli.

你好,我现在项目中打算用咱们这个库。但是项目比较老,有一些交互是同步的,暂时还不能改成 messageHanlder postMessage 的方式,以后新加的 JS 交互再提供支持,老的同步交互的以后有时间再改(呵呵),所以我需要用一套 Modules 同时支持同步异步两种方式。

PR 是我能想到的思路,你看看可以吗。

jiuxingwang and others added 4 commits January 16, 2020 17:34
声明遵守 WKNavigationDelegate协议并公开属性 realNavigationDelegate
将  {0: 'someTitle', 1: 'someUrl} 转成 {title: 'someTitle', url: 'someUrl'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant