본문 바로가기
반응형

firebase7

[Solved][Flutter] Error: The getter 'docs' isn't defined for the type 'Object' [Solved][Flutter] Error: The getter 'docs' isn't defined for the type 'Object' 문제 상황 (Problem) StreamBuilder( stream: FirebaseFirestore.instance . . . ) 위 코드에서 에러가 발생한다. Error: The getter 'docs' isn't defined for the type 'Object' 해결 방법 (Solution) StreamBuilder를 StreamBuilder 로 변경하면 된다. StreamBuilder ( stream: FirebaseFirestore.instance . . . ) 2023. 7. 30.
xcode firebase sdk 적용 방법 xcode firebase sdk 적용 방법 mac os 환경에서 앱을 빌드할 때, 구글 firebase관련하여 의존성 문제가 생기곤 한다. 이 문제는 firebase sdk를 인식하지 못하는 문제로서 필요한 plist파일 등록 및 리빌드하면 된다. 해결 방법 순서 Firebase console에 접속 iOS앱에 Firebase추가 진입 후, GoogleService-info.plist 다운로드 xcode프로젝트에 GoogleService-info.plist 추가 후 리빌드 빌드 성공 확인 2023. 1. 21.
[ios] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized [ios] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized 문제 상황 빌드할 때 에러 메시지와 함께 실패한다. Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized 해결 방법 1. 구글 파이어베이스 콘솔에서 GoogleServices-Info.plist를 생성하여 플러터 프로젝트에 포함시킨다. 해당 파일은 Info.plist와 같은 디렉터리에 복사해주면 된다. 2. main()함수에서 await Firebase.initializeApp(); 을 호출한다. 아래 참고! Future main() a.. 2023. 1. 14.
[Solved][firebase] error FirebaseError: Firebase Storage: User does not have permission to access '*******'. (storage/unauthorized) 해결방법 [Solved][firebase] 해결방법 error FirebaseError: Firebase Storage: User does not have permission to access '*******'. (storage/unauthorized) Firebase storage의 내용을 read할때 발생하는 오류이다. 이 오류는 권한이 없는 유저가 storage의 내용을 읽고자 할 때 발생하므로 아래와 같이 Storage - Rules의 내용을 수정하자. [English](This error occurs when reading the contents of Firebase storage. This error occurs when an unauthorized user tries to read the conten.. 2022. 9. 3.
반응형