Description
How can we help?
On the documentation page for data notifications here: https://documentation.onesignal.com/docs/data-notifications
it say, and I quote:
Android Data Notification Setup
The OneSignal SDK is set up to only send data notifications to subscribed users. If you want to target unsubscribed users with data notifications, you will need to follow this workaround.Data notifications are handled within the NotificationExtenderService - This can be set up to receive data notifications when your app is not running, or to override how notifications are shown in the notification shade.
Except the workaround linked is for iOS SDK.
In OneSignal 4.x there was a method to call (as specified on issue 1538):
OneSignal.unsubscribeWhenNotificationsAreDisabled(false)
that was enough to enable silent notifications when no permission was given.
Can you please update the documentation to add full information on how to manage data notification in Android?
Thank you
Code of Conduct
- I agree to follow this project's Code of Conduct