Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: floatin/WebViewJavascriptBridge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: fangj/WebViewJavascriptBridge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 3 files changed
  • 4 contributors

Commits on Apr 1, 2015

  1. BugFix: When JavaScript calls a registered Android method with JSON O…

    …bject, the Android "handle" method will get an "undefined" String.
    zhoulujue committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    416132c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2015

  1. Update for API > 19

    Maxence Cornet committed Apr 20, 2015
    Configuration menu
    Copy the full SHA
    39665ab View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2015

  1. The JavaScript will receive a plain String when android sending a JSO…

    …N String to JavaScript because _dispatchMessageFromJava function fails to parse the JSON String.
    zhoulujue committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    e254870 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2015

  1. Update WebViewJavascriptBridge.java

    Create a convenience interface for injecting data(initialising WebView with pre-fetched data) when the page loads completely to avoid adding another WebViewClient.
    Example:
    ````java
            bridge.setLoadFinishedCallback(new WebViewJavascriptBridge.LoadFinishedCallback() {
                @OverRide
                public void onLoadFinished() {
                    bridge.send("Test data to send", new WebViewJavascriptBridge.WVJBResponseCallback() {
                        @OverRide
                        public void callback(String data) {
                            Log.d("test", "Got response! " + data);
                        }
                    });
                }
            });
    ````
    sohayb committed Sep 8, 2015
    Configuration menu
    Copy the full SHA
    1595ffe View commit details
    Browse the repository at this point in the history
  2. Merge pull request fangj#1 from sohayb/Loading-finished-callback

    Update WebViewJavascriptBridge.java
    sohayb committed Sep 8, 2015
    Configuration menu
    Copy the full SHA
    08a0a4a View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2015

  1. Configuration menu
    Copy the full SHA
    d0a7b01 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2017

  1. Merge pull request fangj#4 from zhoulujue/master

    BugFix: When JavaScript calls a registered Android method with JSON Obje...
    fangj authored Jan 3, 2017
    Configuration menu
    Copy the full SHA
    753ab59 View commit details
    Browse the repository at this point in the history
  2. Merge pull request fangj#5 from maxenceC/Update-for-API-after-19

    Update for API > 19
    fangj authored Jan 3, 2017
    Configuration menu
    Copy the full SHA
    4e73031 View commit details
    Browse the repository at this point in the history
  3. Merge pull request fangj#8 from sohayb/master

    Replacing LoadingFinishedCallback with custom WebViewClient
    fangj authored Jan 3, 2017
    Configuration menu
    Copy the full SHA
    fd99414 View commit details
    Browse the repository at this point in the history
Loading