Wrapping the evaluateJavascript in a View#post to make sure it is being ran on the same thread as the WebView.
evaluateJavascript (along with all the WebView public methods) call WebView#checkThread which checks that the method was called on the same thread as the WebView's thread.
Wrapping the
evaluateJavascript
in aView#post
to make sure it is being ran on the same thread as theWebView
.evaluateJavascript
(along with all theWebView
public methods) callWebView#checkThread
which checks that the method was called on the same thread as theWebView
's thread.This should fix #10.
@braintree/team-dx