wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.68k stars 1.12k forks source link

Duplicated event tracking for 'push_notification_alert_tapped' when the push notification alert is tapped #22935

Open salimbraksa opened 6 months ago

salimbraksa commented 6 months ago

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. Run Jetpack and login into your account.
  2. Send a push notification to the device while the app is running in the background.
  3. Tap the push notification alert once it appears.
  4. Verify if the push_notification_alert_tapped event is tracked twice.
Tested on iPhone 14 Pro Max, iOS 17, Jetpack iOS / WordPress iOS 24.5
dangermattic commented 6 months ago

Thanks for reporting! 👍