notifee icon indicating copy to clipboard operation
notifee copied to clipboard

[iOS] Slow observer onForegroundEvent

Open Thijmen opened this issue 11 months ago • 3 comments

Hi there,

It occurs to me that when using the following snippet, the code is not immediately being run after clicking a notification (in foreground state);

notifee.onForegroundEvent(({ type, detail }) => {
      console.log('notifee.onForegroundEvent')
})

Using version 7.8.2 and RN 0.72.6.

Is there any way I can help out? It works, but ideally I would like to remove the delay.

Thijmen avatar Mar 05 '24 17:03 Thijmen

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.

github-actions[bot] avatar Apr 02 '24 17:04 github-actions[bot]

not stale

Thijmen avatar Apr 02 '24 18:04 Thijmen

Same issue using notifee v7.8.2 and RN v0.73.6 - the callback is executed only after a noticeable delay.

pqlaurence avatar Apr 11 '24 09:04 pqlaurence

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.

github-actions[bot] avatar May 09 '24 09:05 github-actions[bot]

Not stale

Thijmen avatar May 24 '24 09:05 Thijmen