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

iOS: Expose applicationState property of UIApplication Class

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 1.7.2
    • Component/s: iOS
    • Labels:
    • Environment:

      Product: Mobile
      Titanium SDK: Mobile 1.7.2
      Platform OS: iOS 4.2

      Description

      Feature

      Expose the applicationState property through Titanium API so we can know the application was frontmost when it received a notification.

      http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/UIApplication/applicationState

      Customer notes

      The applicationState property is not exposed in titanium, thus, there is no way take proper action in response to a remote notification.

      Specifically, if the app is in the background and receives a push notification, the notification popup displays, and when the app is launched from the popup, the messageCallback is invoked. There is no way to determine from within this callback whether the system had already displayed the popup to the user.

      Associated HD ticket

      APP-185982

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                egomez Eduardo Gomez (Inactive)
              • Watchers:
                7 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 Integration