applicationDidBecomeActive not called when launching app from Banner/custom action

前端 未结 1 1310
日久生厌
日久生厌 2021-02-15 11:01

I\'m facing this weird problem while trying to implement iOS-8\'s new Interactive Notifications. When dealing with Local Notifications everything works as expected, but when it

1条回答
  •  借酒劲吻你
    2021-02-15 11:37

    Looks like this is an iOS 8 Bug. Found the following on Urban Airship's iOS change log document:

    iOS 8 Notes (Updated September 25, 2014)

    Known issues with iOS 8.0.0 that may impact your application: - Applications do not enter the 'active' state when started from an interactive notification and subsequent app sessions do not receive the application:didBecomeActive delegate call or
    UIApplicationDidBecomeActiveNotification notification. The application state never transitions out of 'inactive' (Radar #18179525). This will impact the accuracy of reporting for applications using interactive notifications.

    http://docs.urbanairship.com/reference/libraries/ios/latest/ios_changelog.txt

    I Did not find any indication that this had been fixed in the latest iOS 8 versions, including 8.1 and 8.2-Beta, nor any workaround to deal with it.

    0 讨论(0)
提交回复
热议问题