본문 바로가기

Programming/flutter

(11)
[flutter] ios firebase 연동 1. firebase에 접속한다. https://firebase.google.com/?hl=ko Firebase Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase.google.com 2. firebase에서 오른쪽 위 콘솔로 이동하고 새로운 프로젝트 생성을 클릭한다. 3. 프로젝트를 생성한 후 ios 버튼을 클릭하여서 ios기기 연동을 준비한다. 4. firebase에 앱 등록 - ios 번들 ID - Bundle Identifier (com.company.(넣고자 하는 이름)) - App 닉네임 - 내부용 식별자 - App store ID - 나중에 추가 가능 5. firebase 구성 파일 추가 - GoogleSer..
[Github] VScode를 통해서 github에 올리기 github에서 new repository를 생성하고 파일을 올리니 master branch에만 올라가고 main으로 넘어가지가 않았다. 따로 main으로 올라갈 수 있게 설정하는 방법도 있지만 이를 설정하기가 번거로움 때문에 vscode에서 바로 repository를 생성하고 commit 하는 방법에 대해서 적어두고자 한다. 1. vscode에서 의 버튼을 클릭한다. 그리고 github에 새로운 repository 생성을 클릭해서 생성한다. 그 뒤 github에 들어가면 다음과 같은 내용을 따라 가면 된다. echo "# 'readme'에 작성할꺼" >> README.md git init git add README.md git commit -m "first commit" git branch -M mai..
[Flutter] Firestore 1. add Dependency - pubspec.yaml에 dependencies: flutter: sdk: flutter firebase_core: "^0.7.0" cloud_firestore: "^0.16.0+1" 추가하기 2. Download dependency (처음이라면) - 터미널에 $ flutter pub get **** 만약에 Null safety를 적용 한다면 **** 터미널에 두가지를 입력 $ flutter channel stable $ flutter run --no-sound-null-safety ----------- cloud_firestore Library https://pub.dev/documentation/cloud_firestore/latest/cloud_firestore/..