@@ -26,9 +26,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
2626
2727 setupFCM ( application)
2828
29- // 📱 푸시 알림 이벤트 추적: 앱 종료 상태에서 푸시 클릭으로 앱 실행
30- // ✅ 앱이 완전히 종료된 상태에서 사용자가 푸시 알림을 탭하여 앱이 실행될 때 호출
31- // ✅ push_notification_opened 이벤트가 Amplitude에 정상적으로 로깅됨
29+ // 푸시 알림 이벤트 추적: 앱 종료 상태에서 푸시 클릭으로 앱 실행
30+ // 앱이 완전히 종료된 상태에서 사용자가 푸시 알림을 탭하여 앱이 실행될 때 호출
31+ // push_notification_opened 이벤트가 Amplitude에 정상적으로 로깅됨
3232 if let notificationUserInfo = launchOptions ? [ . remoteNotification] as? [ String : Any ] {
3333 track ( eventName: . pushNotificationOpened)
3434 print ( " 🔔 앱 종료 상태에서 푸시 알림 클릭으로 실행됨 " )
@@ -72,9 +72,9 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
7272 Messaging . messaging ( ) . apnsToken = deviceToken
7373 }
7474
75- /// 📱 푸시 알림 이벤트 추적: 백그라운드/포그라운드에서 푸시 클릭
76- /// ✅ 앱이 백그라운드 또는 포그라운드 상태에서 사용자가 푸시 알림을 탭했을 때 호출
77- /// ✅ push_notification_opened 이벤트가 Amplitude에 정상적으로 로깅됨
75+ /// 푸시 알림 이벤트 추적: 백그라운드/포그라운드에서 푸시 클릭
76+ /// 앱이 백그라운드 또는 포그라운드 상태에서 사용자가 푸시 알림을 탭했을 때 호출
77+ /// push_notification_opened 이벤트가 Amplitude에 정상적으로 로깅됨
7878 func userNotificationCenter( _ center: UNUserNotificationCenter , didReceive response: UNNotificationResponse ) async {
7979
8080 track ( eventName: . pushNotificationOpened)
@@ -85,9 +85,9 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
8585 }
8686 }
8787
88- /// 📱 푸시 알림 이벤트 추적: 앱 실행 중(포그라운드) 푸시 수신
89- /// ✅ 앱이 포그라운드에서 실행 중일 때 푸시 알림을 받으면 호출
90- /// ✅ push_notification_received 이벤트가 Amplitude에 정상적으로 로깅됨
88+ /// 푸시 알림 이벤트 추적: 앱 실행 중(포그라운드) 푸시 수신
89+ /// 앱이 포그라운드에서 실행 중일 때 푸시 알림을 받으면 호출
90+ /// push_notification_received 이벤트가 Amplitude에 정상적으로 로깅됨
9191 func userNotificationCenter( _ center: UNUserNotificationCenter , willPresent notification: UNNotification , withCompletionHandler completionHandler: @escaping ( UNNotificationPresentationOptions ) -> Void ) {
9292
9393 track ( eventName: . pushNotificationReceived)
0 commit comments