본문 바로가기
반응형

firebase7

[flutter][firebase] How to sign up/login/logout/leave membership for Google (sample code) (구글 회원가입/로그인/로그아웃/회원탈퇴 방법 (샘플코드)) [flutter][firebase]How to sign up/login/logout/leave membership for Google (sample code)(구글 회원가입/로그인/로그아웃/회원탈퇴 방법 (샘플코드)) 구글 소셜로그인을 이용하면 플러터에서도 쉽게 회원관리 기능을 구현할 수 있습니다.  구글에서 제공하는 가이드 (flutter dart 기준이 아니라 조금 더 구글링이 필요했음)https://firebase.google.com/docs/auth/unity/manage-users?hl=ko  Firebase에서 사용자 관리하기  |  Firebase DocumentationCatch up on everthing we announced at this year's Firebase Summit. L.. 2021. 11. 30.
[flutter][firebase] How to sort data from snapshot taken from DB (DB에서 가져온 snapshot에서 데이터 정렬하는 방법) [flutter][firebase] How to sort data from snapshot taken from DB (DB에서 가져온 snapshot에서 데이터 정렬하는 방법) 앱을 만들때 firebase에서 데이터를 갖고 오고 싶다면 보통 FirebaseFirestore에서 인스턴스를 가져와 컬렉션, 도큐먼트에 접근한다. 이때 특정한 애트리뷰트에 대해 정렬하고 싶다면? 아래와 같이 orderBy를 사용하자. (If you want to get data from firebase when creating an app I usually get the instance from FirebaseFirestore Access to collections and documents. What if you want to .. 2021. 11. 4.
[flutter][firebase] [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() 오류 해결방법 [flutter][firebase] [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() 오류 해결방법 void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); 위 코드를 적용하자. firebase를 사용하기전에 위 코드처럼 초기화 작업을 진행해주어야한다. 필자는 firebase관련 플러그인들의 버전을 업그레이드하다가 발생하여 이와 같이 해결함. https://stackoverflow.com/questions/67429742/error-core-no-app-no-firebase-app-.. 2021. 11. 2.
반응형