I use "create-react-native-app" to create new react native app, then I use Expo to build and deploy the app.
But there is no android or iOS directory inside to copy google-services.json to.
I tried to run without copying it, then "Cannot read property 'getInitialNotification' of undefined" when I run FCM.getInitialNotification();
So, how can I still use this lib without android directory?
I tried to eject but I don't want to use Expo Kit.
I use Galaxy S7 Edge with Android 8.0.0, React Native version 0.55.2, react-native-fcm version 16.2.0
I use "create-react-native-app" to create new react native app, then I use Expo to build and deploy the app. But there is no android or iOS directory inside to copy google-services.json to. I tried to run without copying it, then "Cannot read property 'getInitialNotification' of undefined" when I run FCM.getInitialNotification(); So, how can I still use this lib without android directory? I tried to eject but I don't want to use Expo Kit.
I use Galaxy S7 Edge with Android 8.0.0, React Native version 0.55.2, react-native-fcm version 16.2.0
Please help me Thanks