I know that
Expo-Notifications can be used in BareWorkflow.
I’ve set up everything as said by the docs but still, I get this error on getting Device Push Token
[Error: Encountered an exception while calling native method: Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;]
The app does not have any complex Stuff just a single
Have a look at the repo here. Am I doing anything wrong??
Have you followed the firebase setup guide we link to from the
expo-notifications readme? Using the native Firebase SDK - Expo Documentation
Yes, I did.
You can have a look at the repo here.
Link to my google-services.json
Link to android/build.gradle
Link to android/app/build.gradle
hm, I tried this in a new
expo init bare app, after running
yarn add expo-notifications expo-constants, following that Firebase guide, and using the JS code from the example snack in the docs, and it’s working for me. You may want to double-check your Firebase project setup in the dashboard and your google-services file