How to use messaging?


#1

Hi

How can I use firebase.messaging() as per this page-
https://docs.expo.io/versions/latest/guides/using-firebase.html


#2

Hey @anuragnagarkota, you can not utilize’s Firebase’s FCM in a standard CRNA or Expo project. Integrating FCM requires you to make some changes in native code for each platform so if you need to have it in your project, you will need to eject your CRNA project. You can find more information here: https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md

Cheers,

Adam