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

Capitalization inconsistencies cause error in distributed apps but not emulator or dev apps on ios7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Titanium Studio 3.1.3, iOS 7, Distribution

      Description

      Steps to Reproduce

      Create a mobile app for ios.
      Create a file (image, js, etc) using a capital letter at the beginning.
      in the app's js files referenc ethe file without the capital leter.
      Build the app for emulator or ios device it runs fine.

      To see an exampl in the app stor download the app 'Goodnight Carolina' on an iphone
      the first page is missing the page backgrouns as shown by the white ath the top.

      The file is Background.jpg
      In the Js its used as win.backgroundImage = 'background.jpg'

      Worked fine in testing

      // Import any image as "Background.png" (note capital 'B')
       
      var win = Titanium.UI.createWindow({ title: 'Home', backgroundImage:'/images/background.png' });
       
      var nav = Titanium.UI.iOS.createNavigationWindow({window:win});
      Ti.App.nav = nav;
      nav.open();
      

      Actual Result

      When deployed to app store file will not be seen

      Expected Result

      file should be seen when deployed or not seen in dev/testing environment

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              laneydale Laney Dale
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration