react-native-firestack icon indicating copy to clipboard operation
react-native-firestack copied to clipboard

[v2] The default Firebase app has not yet been configured.

Open szujak opened this issue 9 years ago • 4 comments

Hello everyone, I have some problem with run release version of my app that using react-native-firestack. I searched through all topics but i did not found any solution.

So, everything works fine when I build debug version of app, and run it inside iOS simulator, but when I try to build release version (using this instructions https://facebook.github.io/react-native/docs/running-on-device.html#building-your-app-for-production) there is a problem with initialize Firebase/Firestack

I am getting <Error> [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8. this error all the time and I can not play with Firebase anymore in this build.

Anyone has that problem before? I will appreciate any help to solve that.

I am using [email protected]

Thank you :)

szujak avatar Dec 01 '16 08:12 szujak

This won't cause you any problems, just ignore it for now. I believe it's for running multiple instances of Firebase with a different namespace.

cc @Salakar v3

Ehesp avatar Dec 05 '16 09:12 Ehesp

@szujak I think your project has been incorrectly setup, could you follow the manual steps to import firestack into your project - without react-native link

Salakar avatar Dec 29 '16 12:12 Salakar

@szujak any updates on this?

auser avatar Jan 04 '17 16:01 auser

It seems to be solved in 2.3.5. I update to this version and do the manual setup steps from doc once again and did not notice this problem.

Thank you for your answers. I think this issue can be closed :)

szujak avatar Jan 05 '17 07:01 szujak