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

iOS: Using a commonjs module in an itemtemplate fails in a classic app

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 8.0.2
    • Fix Version/s: Release 8.2.0
    • Component/s: iOS
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2019 Sprint 18

      Description

      Description

      When using a commonjs module as in an ItemTemplate the file fails to get required as it tries alloy first which throws an error, and then the classic code require is never executed, we need to nest the try catches to allow moving on

      Steps to reproduce

      1. Get https://github.com/ewanharris/ti.imageview-listview-example
      2. Build to iOS

      Actual

      Error is thrown

      Expected

      No error thrown

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Tester:
              Samir Mohammed
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code