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

update #1

Merged
merged 142 commits into from
Aug 13, 2021
Merged

update #1

merged 142 commits into from
Aug 13, 2021

Conversation

yinghuiwang
Copy link
Owner

Before your create your PR:

Please add tests for any new or changed functionality!

  1. Edit Tests/WebViewJavascriptBridgeTests/BridgeTests.m
  2. Create a new test which demostrates your changes.
  3. Run make test and make sure your test is passing
  4. That's it!

Thanks for improving WebViewJavascriptBridge!

Cheers,
@marcuswestin

lbj96347 and others added 30 commits November 23, 2015 18:21
Add semicolon after decisionHandler
Print a log instead raising an exception in @select(flushMessageQueue:)
Do away with numRequestsLoading and replace it with additional logic in the "embed snippet" on the webpage side.

The way things work now, the webpage includes a snippet code which:
1) checks if WVJB has already been loaded, in case we proceed immediately
2) or else stores the callback in `window.WVJBCallbacks`.
3) waits for the wvjb js code to be injected/loaded, at which point all load callbacks are called
[mod]use 'decisionHandler(WKNavigationActionPolicyCancel)' to replace…
Call policy handler with WKNavigationActionPolicyCancel instead of st…
add support for internet offline fail call
marcuswestin and others added 29 commits December 29, 2016 12:38
The 'Usage' describes the latest version 6.0.2 and the 'Installation with CocoaPods' installs the version 5.2.0. So, if someone follows the tutor,  the Objc will not connect with javascript. The reason is here #266 (comment) .
because 	`WVJBIframe.src = 'https://__bridge_loaded__';` is support 6.0 version, doesn't support 5.0 version.
@yinghuiwang yinghuiwang merged commit 78ae011 into yinghuiwang:ci Aug 13, 2021
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.