OneSignal-Flutter-SDK
OneSignal-Flutter-SDK copied to clipboard
[question]: Android import issues with Notification Service Extension while migrating to v5
How can we help?
I am attempting to migrate to v5 but running into an import issue with the notification service extension.
I am getting unresolved reference when attempting to import IDisplayableMutableNotification, INotificationReceivedEvent, and INotificationServiceExtension as shown here.
I haven't seen any migration steps for the service extension. Is there something obvious here I have likely missed? I am doing the imports in a Kotlin file but do not believe that matters here.
Here is a screenshot of a minimal version of the file that is failing.
Any help would be appreciated.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@TheMeanCanEHdian Please verify that you have added one-signal dependency in your app/build.gradle file.
implementation 'com.onesignal:OneSignal:[5.0.0, 5.99.99]'
The above code fixed the import error which i was facing in mainactivity.kt