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

iOS: Sending events that cannot be serialized fail on SDK 7.0.0+

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.0
    • Fix Version/s: Release 7.3.0
    • Component/s: iOS
    • Environment:

      iOS 11
      SDK7.0.0->7.0.2

    • Story Points:
      5
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 09 SDK

      Description

      Here is a code :
      alloy.js

      Ti.Gesture.addEventListener('orientationchange', function (e) {
          Ti.App.fireEvent('_customEvent', e);
      });
       
      Ti.App.addEventListener('_customEvent', function () {});
      
      

      This triggers an error on orientation change

      [ERROR] :  Script Error {
      [ERROR] :      column = 19;
      [ERROR] :      line = 13;
      [ERROR] :      message = "Invalid type in JSON write (GestureModule)";
      [ERROR] :      sourceURL = "file:///Users/houra/Library/Developer/CoreSimulator/Devices/599E21F7-4A9F-4B60-8864-1CE1485B4360/data/Containers/Bundle/Application/F13B31FA-B6FE-4372-A3FF-AFC5B5E2F1F9/Clean.app/app.js";
      [ERROR] :  }
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              gduthieuw Guile
              Reviewer:
              Vijay Singh
              Tester:
              Samir Mohammed
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code