emekalites / react-native-alarm-notification

schedule alarm and local notification in react-native
https://www.npmjs.com/package/react-native-alarm-notification
MIT License
225 stars 95 forks source link

add getInitialNotification to handle when opened from a quit state in android #143

Closed kaistseo closed 2 years ago

kaistseo commented 3 years ago

This fixes https://github.com/emekalites/react-native-alarm-notification/issues/103

In Android, OnNotificationOpened event is not triggered when the app is opened from a quit state. So, I took the same approach with https://rnfirebase.io/messaging/notifications#handling-interaction, introducing a new method getInitialNotification() that you can use for that case.

stale[bot] commented 2 years ago

Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.

stale[bot] commented 2 years ago

Closed due to inactivity. Holler if this is a mistake, and we'll re-open it.