Closed MSRSK closed 6 days ago
Hi @MSRSK, thank you for reporting this. We'll need to investigate to find the root cause and will provide an update when we can.
To confirm, this was only observed on Android? Have you tested iOS?
Hi @MSRSK, thank you for reporting this. We'll need to investigate to find the root cause and will provide an update when we can.
To confirm, this was only observed on Android? Have you tested iOS?
Only observed in android
@MSRSK thanks for confirming. We will update you when you have more info!
Hello @MSRSK I was able to reproduce the blank push notification on both Flutter 3.22.2 and 3.19.0 with the raw message json you provided. I updated the raw json to the following and confirmed that the title, body, and image were displaying on Flutter 3.22.2. Can you please try this out and let us know if it resolves your problem.
{
"APNSMessage": {
"aps": {
"alert": ""
}
},
"GCMMessage": {
"priority": "high",
"data":{
"pinpoint.notification.imageUrl": "https://miro.medium.com/v2/resize:fit:600/1*fVC87uhTotJSYoiSo2LU1g.png",
"pinpoint.openApp": "true",
"pinpoint.notification.title": "Notification Test Title2",
"pinpoint.notification.body": "Notification Test body",
"pinpoint.notification.silentPush": "0"
}
},
"ADMMessage": {
"data" : {
"message": ""
}
},
"BaiduMessage": {
"title":"",
"description": ""
}
}
This works but not the imageurl, but my previous versions of the app works normally but this version Still have the issue
@MSRSK can you share some more details about the device you are using? Did you reproduce this on a physical device? What type of device and OS? Have you tested any other Android devices?
@MSRSK can you share some more details about the device you are using? Did you reproduce this on a physical device? What type of device and OS? Have you tested any other Android devices?
This is happening on all the devices, I have released an update of my app, people after updating were facing this issue(in Android)
But if you need specifics, I was checking in Android 13
@MSRSK - Were there any other changes other than upgrading from flutter 3.19 to 3.22.2? If you switch back to 3.19 without any code changes is this still working as expected?
Yes, after switching back to 3.19 it started working. I didn't make any other changes
Thanks for the info @MSRSK. We were not able to reproduce that behavior. As @tyllark noted above, he was initially able to reproduce the issue with the provided json. However it was reproducible on both v3.19 and 3.22.2. After updating the json as noted in https://github.com/aws-amplify/amplify-flutter/issues/5144#issuecomment-2240054479, the notification showed on both v3.19 and 3.22.2.
It sounds like after you updated to json format in https://github.com/aws-amplify/amplify-flutter/issues/5144#issuecomment-2240054479, the title/message are showing, but the image is not showing. Is that correct? Can you provide a screenshot so that we can compare it to what we are seeing?
Give me some time to record a video.
Thanks for the info @MSRSK. We were not able to reproduce that behavior. As @tyllark noted above, he was initially able to reproduce the issue with the provided json. However it was reproducible on both v3.19 and 3.22.2. After updating the json as noted in https://github.com/aws-amplify/amplify-flutter/issues/5144#issuecomment-2240054479, the notification showed on both v3.19 and 3.22.2.
It sounds like after you updated to json format in https://github.com/aws-amplify/amplify-flutter/issues/5144#issuecomment-2240054479, the title/message are showing, but the image is not showing. Is that correct? Can you provide a screenshot so that we can compare it to what we are seeing?
What have you updated in the json?
@MSRSK I believe @tyllark had initially reproduced the issue with the JSON you provided in your original issue description. After updating the JSON to the value in this comment (https://github.com/aws-amplify/amplify-flutter/issues/5144#issuecomment-2240054479), the issue could not longer be reproduced.
@MSRSK please let us know if you are still facing this issue. Thanks.
@MSRSK I am going to close this out since we were unable to reproduce this have not heard back.
Description
When building the app using flutter v3.19.0, notifications are working fine,
But, when building the app using flutter v3.22.2, I'm getting blank notification like show in the below screenshot
Categories
Steps to Reproduce
Screenshots
Platforms
Flutter Version
3.22.2
Amplify Flutter Version
2.2.0
Deployment Method
AWS CDK
Schema
No response