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

iOS 11.3 beta: Loading HTML in Webview errors when accessing EventListener

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.5.1, Release 6.3.0, Release 7.0.2
    • Fix Version/s: Release 7.1.0
    • Component/s: iOS

      Description

      Issue
      In the app they have a signature drawing controller, which loads signature.html in webview. The html has Ti.App.addEventListener & Ti.App.fireEvent to communicate between webview and controller. HTML gives error on Ti accessing in html. This is happening in iOS 11.3 beta 1 & beta 2.

      Code works fine on iOS 11.2 and earlier

      Steps to recreate:
      download TestiOSBeta
      run project on simulator for iOS 11.3

      Expected results:
      Drawable canvas and text turn green.

        Attachments

        1. Error.rtf
          6 kB
        2. iOS11.2.png
          iOS11.2.png
          42 kB
        3. iOS11.3.png
          iOS11.3.png
          63 kB
        4. test_webview_native.zip
          42 kB
        5. TestIOSBeta.zip
          9.55 MB

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                vvazquezmontero Victor Vazquez Montero
                Reviewer:
                Hans Knöchel
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code