Closed felixmede closed 1 year ago
@felixmede thanks for reaching out! I've been able to reproduce this on Flutter, so we'll get working on a solution right away!
i have the same problem
@Aksoyhlc thanks for the report! Can you please confirm which SDK you are using--so far, I've only been able to reproduce this on Flutter, so if you are experiencing this with the native Android SDK or another wrapper, please let us know!
@jennantilla Hello, I am also getting this error in Flutter. I tried onesignal_flutter 5.0.0 on Xiaomi and Emulator devices, the application was stopped on all of them and I received the reported error.
Our log records are the same, so I do not re-upload them.
@felixmede thank you for your patience. We have a fix for this on the latest Flutter release, 5.0.2.
Please let us know if you have any additional questions or concerns.
What happened?
The app crashes upon receiving a push notification with two buttons with the error
java.lang.IllegalArgumentException: Unsupported value: 'com.onesignal.notifications.internal.Notification$ActionButton@9b88d51' of type 'class com.onesignal.notifications.internal.Notification$ActionButton'
Steps to reproduce?
What did you expect to happen?
the message getting displayed in the notifications
OneSignal Android SDK version
5.0.0
Android version
10
Specific Android models
Relevant log output
Code of Conduct