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

iOS: Local .png and .jpg images do not display in WebView when App-Thinning is enabled

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Release 5.4.0, Release 5.5.0
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:
    • Story Points:
      8
    • Sprint:
      2018 Sprint 06 SDK

      Description

      PNG and JPG images that exist locally (in the Resources dir) render as broken images in Titanium.UI.WebView components. Images are broken when displayed via both <img> tags and CSS. This is a regression in Ti SDK 5.5.x. Attached is a sample app.js to reproduce the issue. The console displays the following error:

      [ERROR] : Error loading /Users/slim/Library/Developer/CoreSimulator/Devices/F2DACFF8-2866-4B5A-8098-3D817716D753/data/Containers/Bundle/Application/58D9B4CD-13B4-4224-A694-8CD011FED83B/Test.app/KS_nav_ui.png

      Note that remote images (PNG, JPG) seem to render correctly. Also, local GIF images (not tested extensively) and other common assets such as JS and CSS render. Only local PNG and JPG images seem to be affected.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              slim.mckins Slim McKinsley
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration