React-native-notifee: [Android, iOS?] Cannot get initial notification

Created on 29 Jun 2020  ·  1Comment  ·  Source: notifee/react-native-notifee

Bug report

Maybe a duplicate of https://github.com/notifee/react-native-notifee/issues/89

Scenario

  • App is closed
  • A notification is received via Firebase Cloud Messaging
  • The notification is pressed

Result

✅ The app should open
❌ I should get the initial notification logged in the console

Code snippet

const bootstrap = async () => {
    const initialNotification = await notifee.getInitialNotification();
    console.log('notifee - initialNotification', initialNotification);
}

Deps

"@react-native-firebase/messaging": "7.1.4"
"@notifee/react-native": "0.9.0",
"react-native": "0.62.2",

bug

Most helpful comment

Thanks for the report - this is 100% a duplicate of #89 of which I'll hopefully have a fix in for by the end of the week.

Let's track on #89. Thanks for raising this issue 🎉

>All comments

Thanks for the report - this is 100% a duplicate of #89 of which I'll hopefully have a fix in for by the end of the week.

Let's track on #89. Thanks for raising this issue 🎉

Was this page helpful?
0 / 5 - 0 ratings