Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15896

WebView's evalJS method times out on Android API >= 17

    Details

      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

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                nunofgs Nuno Sousa
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17976
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code