Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 142 forks source link

Push notification events not being triggered through Segment integration #296

Closed kevinfarst-earnin closed 3 years ago

kevinfarst-earnin commented 3 years ago

Report

We integrate the Appboy-iOS-SDK with Segment using the Segment-Appboy Cocoapod, currently on version 3.5.0. We recently upgraded the SDK from version 3.29.1 to 4.0.2 without any other changes to either the Segment or Segment-Appboy Cocoapods. After the upgrade, the Push Notification Tapped event triggered through the Segment SDK began to plummet in app versions containing the 4.0.2 SDK version. After rolling back to version 3.29.1 of the SDK, the Push Notification Tapped events recovered without any other changes to our application's configuration or modification of any other SDKs integrated within our app.

Describe your environment.

Info Value
Platform Name iOS
Platform Version 14.4
SDK Version 4.0.2
Integration Method Cocoapods
Xcode Version Xcode 12.5
Computer Processor Intel-based
Repro rate All the time (100%)

What did you do?

Upgraded the SDK from version 3.29.1 to 4.0.2.

What did you expect to happen?

Segment's Push Notification Tapped event would continue to be logged as in previous versions.

What happened instead?

The Push Notification Tapped event began to plummet in app versions containing the SDK update.

Steps to reproduce

Example:

[config use:[SEGAppboyIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];


- Run the app.
- Send a push notification to the device with a Braze campaign.
- Observe the `Push Notification Tapped` event triggered through Segment to the Braze project.
chshapiro commented 3 years ago

Hey @kevinfarst-earnin,

Can you try updating your Segment-Appboy version to the most current version? Can you also turn on verbose logging and send us the logs of an instance where you expect to see the event triggered and it's not triggering? If you're not comfortable posting them here, you can email them to support@braze.com.

hokstuff commented 3 years ago

Hi @kevinfarst-earnin, are you still experiencing this issue?

hokstuff commented 3 years ago

I'm closing out this issue due to inactivity. Feel free to reopen or contact our Support channels if you still have concerns. Thanks!