Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background notification in android for onesignal #2155

Open
1 task
S00raj-hcbs opened this issue Jul 23, 2024 · 5 comments
Open
1 task

background notification in android for onesignal #2155

S00raj-hcbs opened this issue Jul 23, 2024 · 5 comments

Comments

@S00raj-hcbs
Copy link

S00raj-hcbs commented Jul 23, 2024

How can we help?

how to handle background notification in android for onesignal sdk 5.1.17?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jkasten2
Copy link
Member

@S00raj-hcbs you can create a OneSignal Android Notification Service Extension to do this.

@S00raj-hcbs
Copy link
Author

this document not fulfill my requirement and it's incomplete document.

@S00raj-hcbs
Copy link
Author

like Document like

@jkasten2
Copy link
Member

jkasten2 commented Jul 25, 2024

I see, the link should be point to this doc:
https://documentation.onesignal.com/v9.0/docs/osnotification-payload

The doc was written for the 4.x.x version of this SDK, however most of the properties are the same with 5.x.x. We will look into fixes these docs.

In the meantime feel free to use the link above and the auto complete from Android Studio. If you would like a bit more detail you can look at the source of the interface here:
https://github.com/OneSignal/OneSignal-Android-SDK/blob/5.1.15/OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifications/INotification.kt

@jkasten2 jkasten2 reopened this Jul 25, 2024
@S00raj-hcbs
Copy link
Author

give me proper document for onesignal notification so i can manage in my application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants