During building an app, I couldn't be able to initialized firebase V9
in optimized form in expo react native. I switch from V8
to V9
And counter different error, which aren't making sense to me.
Like module idb missing from file "...\node_modules\@firebase\app\dist\esm\...
even I create a metro.config.js File.
And Firebase could not be found within the project
when it is present in (Firebase V8).
And this error, idk what's that about at node_modules\react-native\Libraries\LogBox\LogBox.js:149:8 in register
.
Error at node_modules\react-native\Libraries\LogBox\LogBox.js:60:8 in errorImpl....
, here's the issue or check this problem
And undefined is not an object (evaluating '_app.default.apps')
.
All such questions and their answers are available on stackoverflow. But none of them work for me. And Im not elaborating these issues, just giving you idea. So I try some things, and it worked.