Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Low
-
Resolution: Duplicate
-
Affects Version/s: Release 3.2.0
-
Fix Version/s: Release 3.4.0
-
Component/s: Android
-
Labels:
-
Environment:
Android with any API >= 17
3.2.0GA
Description
Since API 17, any WebView that intends to expose a Javascript object must decorate methods with the @JavascriptInterface annotation, as described here.
The TiReturn class does not use this annotation which is why I believe that any evalJS call simply returns null and outputs:
W/TiWebViewBinding( 3268): (KrollRuntimeThread) Timeout waiting to evaluate JS
Attachments
Issue Links
- duplicates
-
TIMOB-17613 Unable to execute javascript code using evalJS on Android with SDK 3.3.0.GA
-
- Closed
-
- is duplicated by
-
AC-1356 Android Webview load event does not work
- Resolved
- relates to
-
AC-1157 WebView.evalJS times out / throws 'Unexpected token' error
- Closed