invertase / notifee

⚛️ A feature rich notifications library for React Native.
https://notifee.app
Apache License 2.0
1.86k stars 225 forks source link

Add in additional code examples for onBackgroundEffect #1080

Closed infiniteline closed 1 month ago

infiniteline commented 2 months ago

The current documentation states to put onBackgroundEvent within index.js but there are no examples of how to handle navigation or state when doing that. A workaround is just to put onBackgroundEvent into App.js so that Redux and RN Navigation can be used. It would be helpful, however, to have some examples of how to use the method in index.js with major libraries (like Redux and Navigation) just in case one finds it necessary to have it there.

github-actions[bot] commented 1 month ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.