invertase / notifee

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

getInitialNotification not working on iOS #913

Closed gregalway closed 5 months ago

gregalway commented 1 year ago

We have been using getInitialNotification to bootstrap our app & load the the correct page when a user taps a notification while the app is closed. This has worked prior to version 7.8.0. According to the docs it's deprecated on IOS but should still work.

After upgrading to 7.8.0, getInitialNotification never returns anything on iOS. There is nothing in the release notes concerning this, but I did find this PR which I suspect is the culprit. Is there something additional required for it to work now?

For now, I have downgraded back to 7.7.1 and it works fine.

github-actions[bot] commented 11 months 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.

dmateertf commented 11 months ago

(In response to automated stale tag....) Not yet resolved. There are several open issues related to this, the most complete seems to be #912

zirho commented 11 months ago

7.7.1 does not seem to work for my ios device which is (iOS v15) I tried to reboot the device but didn't work as it did the trick in the past sometimes.

bharathsandepogu01 commented 10 months ago

I am facing the same issue as well, Is there any alternative approach ?

balsick commented 10 months ago

facing the issue as well, has anybody knowledge of any patch?

jaraujo-ob commented 10 months ago

+1

HessiPard commented 10 months ago

+1

lukhol commented 10 months ago

+1

SMPinCode commented 9 months ago

PR https://github.com/invertase/notifee/pull/985 appears to be a fix for this. I have tested it and iOS terminated state now picks messaging().getInitialNotification. So wait this PR to be merged officially or patch it yourself on your own risk.

github-actions[bot] commented 8 months 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.

go-sean-go commented 8 months ago

Not stale.

github-actions[bot] commented 8 months 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.

go-sean-go commented 8 months ago

Not stale.

On Fri, Apr 5, 2024 at 7:38 AM github-actions[bot] @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/invertase/notifee/issues/913#issuecomment-2039966837, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANFRSGLBPARIIZLCXFNQRRLY32ZOLAVCNFSM6AAAAAA7TPCJ7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZHE3DMOBTG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

github-actions[bot] commented 7 months 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.

dmateertf commented 7 months ago

Not stale

github-actions[bot] commented 6 months 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.

amirhosein5858 commented 5 months ago

issue exist and handling with notifee.onForegroundEvent not helped when app is closed.

Dr0pG commented 4 months ago

Not stale