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

iOS9: Ti.App.iOS.WatchSession should be global

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.0.0
    • Component/s: iOS
    • Labels:
    • Environment:

      WatchOS2
      Xcode 7 beta 5
      Ti SDK 4.2.0

      Description

      As opposed to:

      var watchSession = Ti.App.iOS.createWatchSession();
      watchSession.sendMessage({
          message:{ message: 'Hello World}
      });
      watchSession.addEventListener('messageReceived', function());
      

      it should be

      Ti.WatchSession.sendMessage({
          message:{ message: 'Hello World}
      });
      Ti.WatchSession.addEventListener('messageReceived', function());
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                cng Chee Kiat Ng (Inactive)
              • Watchers:
                2 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