-
[React-Native][Error] Firebase App named '프로젝트' already exists ErrorReact-Native/Error 2023. 2. 4. 21:19
리프레쉬하는 과정에서 Firebase에 관한 에러가 발생했습니다.
해결방안
if (!Firebase.apps.length) { const app = Firebase.initializeApp({}); } else { Firebase.app(); }
참고
https://stackoverflow.com/a/48686803/19262130
Firebase App named '[DEFAULT]' already exists (app/duplicate-app)
Hi I am trying to unit test while developing a simple web with AngularJS + Firebase, but I have a problem defining the spec and trying the test runner myProject/test/spec/main.js : describe('Cont...
stackoverflow.com
'React-Native > Error' 카테고리의 다른 글