Push Notifications Not working after creating a standalone native build

im using an expo managed workflow with latest expo and eas versions.The problem is that i wanted to integrate google ads so installed react-native-google-mobile-ads which required a native build so i ran expo prebuild and then npx run:android that created a development build .the problem is that now notifications are not working and i get this errior
[Error: Encountered an exception while calling native method: Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager: Default FirebaseApp is not initialized in this process com.muhammad1700.social_assistance. Make sure to call FirebaseApp.initializeApp(Context) first.]

If anyone else finds this thread, have a look at the following thread:

1 Like