Skip to content

Commit

Permalink
refactor(android): remove deprecated properties on webview error event
Browse files Browse the repository at this point in the history
    This removes the errorCode and message properties that have been deprecated since sdk
    3.1.0

    BREAKING CHANGE: Removes deprecated webview error event properties: errorCode and message
  • Loading branch information
sgtcoolguy committed Dec 9, 2019
1 parent b74946d commit 5144ac9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ public void onReceivedError(WebView view, int errorCode, String description, Str
}
KrollDict data = new KrollDict();
data.put("url", failingUrl);
data.put("errorCode", errorCode);
data.putCodeAndMessage(errorCode, description);
data.put("message", description);
proxy.fireEvent("error", data);
}

Expand Down

0 comments on commit 5144ac9

Please sign in to comment.