OneSignal-Android-SDK icon indicating copy to clipboard operation
OneSignal-Android-SDK copied to clipboard

[Bug]: getNotification and getActionButtons not found on INotificationReceivedEvent

Open TheMeanCanEHdian opened this issue 6 months ago • 0 comments

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

CleanShot 2024-08-18 at 13 50 06@2x

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

TheMeanCanEHdian avatar Aug 18 '24 18:08 TheMeanCanEHdian