Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

iOS mobile SDK collectLaunchInfo doesn\'t track push notification being opened

Avatar

Level 1

Hello folks!
I tried to track when the application launched through push notification click. I tried to call collect launch info when receive push notification, I tried to debug, this code is executing correctly, but there is no tracking appears. Here is example how I do it 

extension AppDelegate: UNUserNotificationCenterDelegate {

    func userNotificationCenter(_ center: UNUserNotificationCenter,

                                didReceive response: UNNotificationResponse,

                                withCompletionHandler completionHandler: @escaping () -> Void) {

        

        if UIApplication.shared.applicationState != .active {

            ACPCore.collectLaunchInfo(response.notification.request.content.userInfo)

        }

        completionHandler()

    }

0 Replies