notifee icon indicating copy to clipboard operation
notifee copied to clipboard

getInitialNotification() not working in iOS neither notifee's nor Firebase's.

Open amm4ryous4f opened this issue 1 year ago • 27 comments

getInitialNotification not working in iOS in when I click on notification in kill state. I have tried your getInitialNotification and also firebase getInitialNotification() but both are not working. So. I can't perform any action from kill state.

amm4ryous4f avatar May 23 '24 05:05 amm4ryous4f

+1

StasSokolov1 avatar May 27 '24 09:05 StasSokolov1

+1

douglasscriptore avatar May 29 '24 20:05 douglasscriptore

This issue has been present for months and makes the library useless for production. Any fixes?

singhayush1403 avatar Jun 04 '24 14:06 singhayush1403

+1

gollobo avatar Jun 11 '24 21:06 gollobo

im facing this issue also and as mentioned in docs notifee.onForegroundEvent not helped!

amirhosein5858 avatar Jun 19 '24 05:06 amirhosein5858

+1

santhoshvai avatar Jun 20 '24 08:06 santhoshvai

Any news?

Dr0pG avatar Jul 10 '24 16:07 Dr0pG

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 Aug 07 '24 16:08 github-actions[bot]

Also ran into this issue. The only way I found to fix it is to downgrade to "@notifee/react-native": "^5.7.0",

0xthk avatar Aug 13 '24 08:08 0xthk

was facing same issue. i was using @react-native-firebase/messaging and notifee library. this notifee latest version causing issue on causing issue on ios on calling getInitialNotification and onNotificationOpenedApp as these events are handled by it as in docs https://rnfirebase.io/messaging/usage. just downgrade notifee version to ^5.7.0 or remove it if not necessary. just solve problem

usman965 avatar Aug 22 '24 10:08 usman965

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 Sep 19 '24 11:09 github-actions[bot]

Facing this issue as well

matthewWatson571 avatar Sep 25 '24 17:09 matthewWatson571

facing same issue

sagarpatil58 avatar Sep 26 '24 08:09 sagarpatil58

Also ran into this issue. The only way I found to fix it is to downgrade to "@notifee/react-native": "^5.7.0",

This worked for us as well, we were using:

"react-native": "0.74.2",
"@react-native-firebase/app": "^20.4.0",
"@react-native-firebase/messaging": "^20.4.0",
"@notifee/react-native": "^7.8.2",

Downgrading to Notifee "0.5.7" and using messaging().getInitialNotification() from react-native-firebase/messaging and NOT the notifee.getInitialNotification() solved the issue on iOS and Android.

x43n avatar Sep 27 '24 00:09 x43n

Same here. Both libraries stop working if Notifee is set to any version newer than 5.7.0.

rodperottoni avatar Oct 02 '24 23:10 rodperottoni

Possible duplicate. See:

  • #1118

LunatiqueCoder avatar Oct 27 '24 08:10 LunatiqueCoder

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 Nov 24 '24 08:11 github-actions[bot]

This issue persists. Not stale.

matthewWatson571 avatar Nov 24 '24 16:11 matthewWatson571

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 Dec 23 '24 00:12 github-actions[bot]

This issue still persists. Not stale.

young-st511 avatar Jan 20 '25 06:01 young-st511

any soltuion apart from downgrade to 5.7.0? when notificaton press want to deep link to specfic url which is in data payload of notifcation

zeeshan-shabbir avatar Feb 11 '25 14:02 zeeshan-shabbir

same issue still persists!!

karimelsaidy avatar Feb 13 '25 01:02 karimelsaidy

@karimelsaidy how did you solve?

zeeshan-shabbir avatar Feb 20 '25 16:02 zeeshan-shabbir

+1

UsamaAshraf82 avatar Feb 24 '25 05:02 UsamaAshraf82

I'm running latest @react-native-firebase/messaging v21.12.0 and @notifee/react-native v9.1.8.

It affects Android as well.

getInitialNotification is always null.

dai-ichy avatar Mar 09 '25 00:03 dai-ichy

@dariodaich i am also finding solution from past couple of weeks but unfortunerly didnt succeed yet. let me known if you manage to solved it somehow.

zeeshan-shabbir avatar Mar 09 '25 01:03 zeeshan-shabbir

I'm running latest @react-native-firebase/messaging v21.12.0 and @notifee/react-native v9.1.8.

It affects Android as well.

getInitialNotification is always null.

same for me

litinskii avatar Mar 27 '25 18:03 litinskii

Despite what the rnfirebase/messaging docs say, it appears that messaging().getInitialNotification() and messaging().onNotificationOpenedApp() are still being called despite the Notifee integration.

"@notifee/react-native": "9.1.8", "@react-native-firebase/messaging": "21.13.0", "expo": "52.0.44",

https://github.com/invertase/notifee/issues/880#issuecomment-2236142556

mysport12 avatar Apr 04 '25 15:04 mysport12

@mysport12 for andorid its working not for ios

zeeshan-shabbir avatar Apr 24 '25 06:04 zeeshan-shabbir

"@react-native-firebase/messaging": "19.2.2", "@notifee/react-native": "9.1.8", "react-native": "0.72.14", No new Arch, but Hermes enabled.

Tested on both platforms on real devices - both work as expected (there is no "null" in getInitial...)

gigby avatar May 07 '25 13:05 gigby