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

[question]: Handling local notifications (in app) #1471

Closed
1 task done
rahatmodi opened this issue Aug 21, 2024 · 2 comments
Closed
1 task done

[question]: Handling local notifications (in app) #1471

rahatmodi opened this issue Aug 21, 2024 · 2 comments

Comments

@rahatmodi
Copy link

rahatmodi commented Aug 21, 2024

How can we help?

We use local notifications for some other features in the app.
How do I

  • control notification presentation options when the local one is presented when app is in foreground
  • get local notification response when selected

I am using addForegroundLifecycleListener and addClickListener but they don't fire for local notifications.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link
Contributor

nan-li commented Aug 22, 2024

Hi @rahatmodi thanks for reaching out.

You can set up and use local notifications, but that will be entirely managed by you.

The OneSignal SDK will only handle OneSignal-originated notifications.

@nan-li nan-li closed this as completed Aug 22, 2024
@rahatmodi
Copy link
Author

rahatmodi commented Aug 22, 2024 via email

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

No branches or pull requests

2 participants