OneSignal-Android-SDK
OneSignal-Android-SDK copied to clipboard
[Bug]: getNotification and getActionButtons not found on INotificationReceivedEvent
What happened?
While migrating to v5 I have run into an issue with the notification service extension as seen below. I am using the provide java code from here converted to kotlin.
I am using the Flutter SDK 5.2.3 with Android SDK 5.1.20
Steps to reproduce?
1. Migrate to v5
2. Attempt to implement suggested code for Noticication Service Extension
What did you expect to happen?
I expected these get calls to function similar to v3 with OSNotificationReceivedEvent
OneSignal Android SDK version
5.1.20
Android version
12
Specific Android models
No response
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct