aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.31k stars 242 forks source link

Pinpoint push notification campaign events are not being recorded. #5122

Closed naveenthontepu closed 2 weeks ago

naveenthontepu commented 2 months ago

Description

We are unable to track pinpoint push notification campaign and journey events as they are not being recorded from the flutter SDK.

Categories

Steps to Reproduce

  1. Create a push notification campaign in pinpoint.
  2. Run the campaign.
  3. Go to the campaign metrics section and only messages delivered is visible, the app open metric is not available.

Screenshots

No response

Platforms

Flutter Version

3.10.2

Amplify Flutter Version

2.2.0

Deployment Method

Custom Pipeline

Schema

No response

khatruong2009 commented 1 month ago

Hi @naveenthontepu, thank you for submitting this issue. We will take a look and get back to you with any updates.

tyllark commented 1 month ago

Hello @naveenthontepu, I was able to reproduce the issue and determined that the root cause is that the Push Notification Campaign Events are being cached in memory, but are never being sent to PinPoint. I'm marking this issue as a bug and we will get back to you when we have a fix.

NikaHsn commented 2 weeks ago

I'm going to close this issue as the fix has been released in 2.4.0 version. If you see otherwise or have additional questions, please open a new issue.