Closed shubhamdeol closed 5 years ago
+1
You can comment out the libraries you are not using inside node_modules/expo-firebase-app/src/utils/getModuleInstance.js
and it should work fine, But I am not sure if this is the perfect solution to this
note: this will not survive a yarn install, so you can use a package like this to keep the changes you made https://www.npmjs.com/package/patch-package
It appears as though you have 1 issue in the title, and a completely different issue in the description. Please take the time to open 2 separate issues.
But, I guess this does not work that way
It does, exactly as I said in the article. I just tested it again: https://github.com/EvanBacon/expo-native-firebase/tree/%40evanbacon/analytics-example
One more issue is this, I only need
expo-firebase-analytics
, But this never works, I had to import all the packages, performance, database, auth, functions... all. If we skip any, android app crashes saying error message like: can't find moduleexpo-firebase-auth
, even If don't use this.I tried using rn firebase as well, but it makes things more complicated, Their official doc says
whereas expo eject guide does not recommend to upgrade.
In one of the post on medium you clearly mentioned this:
But, I guess this does not work that way
Please help @EvanBacon