You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to detect notifications in the onNotificationReceived() method of INotificationServiceExtension. This issue occurs whether the app is in the background or foreground. I am using the latest version of the OneSignal SDK, version "5.1.21".
1.Install the app on a mobile device.
2.Enable the notification service.
3.Send a test notification from the OneSignal dashboard.
4.Check the onNotificationReceived() method.
What did you expect to happen?
Whenever a notification arrives on the mobile device, the onNotificationReceived() method will be executed and will handle the API call from within that method.
OneSignal Android SDK version
5.1.21
Android version
15, 14, 13, 12
Specific Android models
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
I am unable to detect notifications in the
onNotificationReceived()
method ofINotificationServiceExtension
. This issue occurs whether the app is in the background or foreground. I am using the latest version of the OneSignal SDK, version "5.1.21".Below is the code I have integrated:
1. build.gradle (app level):
implementation("com.onesignal:OneSignal:5.1.21")
2. AndroidManifest.xml:
3. NotificationService class:
Steps to reproduce?
What did you expect to happen?
Whenever a notification arrives on the mobile device, the onNotificationReceived() method will be executed and will handle the API call from within that method.
OneSignal Android SDK version
5.1.21
Android version
15, 14, 13, 12
Specific Android models
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: