react-navigation.github.io icon indicating copy to clipboard operation
react-navigation.github.io copied to clipboard

docs: Use message.data instead of message.notification for Firebase Cloud Messaging

Open bangseongbeom opened this issue 3 years ago • 1 comments

  • Use data instead of notification

    Notification does not support url property.

  • Use optional chaining operators more precisely

  • Replace Linking.removeEventListener

    Linking.removeEventListener is deprecated.

    See: https://reactnative.dev/docs/next/linking#removeeventlistener

  • Add @react-native-firebase/messaging imports

bangseongbeom avatar Mar 18 '22 12:03 bangseongbeom

✔️ Deploy Preview for react-navigation-docs ready!

🔨 Explore the source changes: 2680b0754a64bac267e34aab30cdde9658fd5e32

🔍 Inspect the deploy log: https://app.netlify.com/sites/react-navigation-docs/deploys/6234774bdf18240008520a39

😎 Browse the preview: https://deploy-preview-1135--react-navigation-docs.netlify.app

netlify[bot] avatar Mar 18 '22 12:03 netlify[bot]