-
Notifications
You must be signed in to change notification settings - Fork 701
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
Resolution of Uncaught TypeError: Object [object Object] has no method 'call' #10
Comments
Thank you for sharing the information with us! |
This appears to be caused by change in addJavascriptInterface between Android 4.1 (JELLY_BEAN) and 4.2 (JELLY_BEAN_MR1). |
@splhack you can upload WebViewPlugin.jar fix version for me? |
I can't scroll and touch the website in Android. |
The latest version (https://github.com/gree/unity-webview/tree/39d08af311278693abb8c57129dc1b434b062c25) should have no problem. Please try the latest |
…from-base-repo Appl 8689 merge updates from base repo
Thank you for great library for Unity 3D. But I found one bug that native code can't catch callback from javascript. This problem appears only over Android 4.2.
So I have found on google. This is hint I found : http://stackoverflow.com/questions/14031635/android-4-2-1-webview-and-javascript-interface-breaks
I changed build target to 4.2.2 and modified code like below. (just @JavascriptInterface added)
In result, this is work fine after added an annotation.
The text was updated successfully, but these errors were encountered: