[BUG] Invalid encrypted push notification payload #1590
Labels
Communication - Chat
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
I can receive push-notification in onMessageReceived#FirebaseMessagingService, but I cannot access the data. There's something inside the message, but mosty gibberish kind of data - not what I'd expect such as title/content.
Exception or Stack Trace
Not sure if this error is related, but the only thing that I see in console (might be related)
java.lang.RuntimeException: Failed to parse push notification payload: java.lang.RuntimeException: Invalid encrypted push notification payload. Dropped the request!
To Reproduce
Steps to reproduce the behavior: Happens all the time.
Code Snippet
and later on I call:
chatThread.handlePushNotification(notification)
Expected behavior
I'd expect that I can access notification title and content with ease, but for some reason all I see is gibberish data.
Screenshots
Setup (please complete the following information):
Additional context
Not sure why calling "chatThread.handlePushNotification(notification)" returns Exception. I think it might be related that the notification that comes in is incorrectly formatted?
The text was updated successfully, but these errors were encountered: