[#464] Firebase 초기화보다 먼저 SDK 객체가 접근되는 순서를 개선한다#494
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 연관된 이슈
🎯 의도
Firebase 초기화 과정에서
configure()이전에 Firebase 상태를 조회하며 경고가 발생하던 문제 방지📝 작업 내용
📌 요약
FirebaseAppServiceImpl의 초기화 로직 단순화FirebaseApp.app()사전 조회 제거🔍 상세
FirebaseAppServiceImpl에 정적isConfigured플래그 추가configure()호출 시 이미 초기화된 경우 조기 반환 처리FirebaseApp.app() == nil분기 제거FirebaseApp.configure()만 단일 경로로 실행되도록 정리configure()이전 Firebase 접근으로 인한 startup 경고 방지📸 영상 / 이미지 (Optional)