Skip to content

파이어베이스 전화 인증#38

Merged
FLU0RITE merged 19 commits intodevelopfrom
feat/phone
Apr 29, 2025
Merged

파이어베이스 전화 인증#38
FLU0RITE merged 19 commits intodevelopfrom
feat/phone

Conversation

@kkosang
Copy link
Collaborator

@kkosang kkosang commented Apr 26, 2025

#️⃣연관된 이슈

close #4

📝작업 내용

  • firestore,firebase auth 사용
  • 전화 번호 인증 및 리펙토링
  • 이미 가입된 핸드폰 번호라면 토스트 메시지 보여주고 있습니다.

스크린샷 or 작업영상

ios영상은 sms 하루 최대 10번으로 생략..

an.webm

💬리뷰 요구사항

디코로 이야기했던 기능 부분과 UI 디테일 다음 pr에서 작업해주시면 될 것 같아요~

FLU0RITE and others added 18 commits April 7, 2025 19:40
- firebase.json, lib/firebase_options.dart, ios/Runner/GoogleService-Info.plist 추가
- firebase android, ios 설정 추가
Implement phone number verification functionality, including sending and verifying SMS codes. Create related repositories, use cases, view models, and UI pages.
- pubspec.lock : flutter_riverpod, fluttertoast 패키지 추가
- pubspec.yaml: firebase 관련 패키지 및 flutter_riverpod, fluttertoast, svg 에셋 추가
- main.dart : firebase 초기화 및 riverpod 설정, 로그인 페이지 진입
- android, ios : firebase 연동
- test/widget_test.dart : Counter 테스트 제거
- lib/auth : auth 관련 폴더 추가
- lib/auth/presentation/pages/login_page.dart : 로그인 페이지 UI 추가
- lib/auth/presentation/pages/identity/identity_verification_page.dart : 전화번호 인증 페이지 UI 추가
# Conflicts:
#	ios/Runner.xcodeproj/project.pbxproj
#	lib/auth/presentation/pages/login_page.dart
#	lib/main.dart
#	pubspec.yaml
- pubspec.lock : flutter_riverpod, fluttertoast 패키지 추가
- pubspec.yaml: firebase 관련 패키지 및 flutter_riverpod, fluttertoast, svg 에셋 추가
- main.dart : firebase 초기화 및 riverpod 설정, 로그인 페이지 진입
- android, ios : firebase 연동
- test/widget_test.dart : Counter 테스트 제거
- lib/auth : auth 관련 폴더 추가
- lib/auth/presentation/pages/login_page.dart : 로그인 페이지 UI 추가
- lib/auth/presentation/pages/identity/identity_verification_page.dart : 전화번호 인증 페이지 UI 추가
- ndk 버전 수정
# Conflicts:
#	lib/main.dart
#	pubspec.yaml
# Conflicts:
#	ios/Podfile.lock
#	ios/Runner.xcodeproj/project.pbxproj
#	lib/main.dart
# Conflicts:
#	lib/main.dart
# Conflicts:
#	ios/Runner.xcodeproj/project.pbxproj
#	lib/auth/presentation/pages/login/login_page.dart
#	lib/main.dart
#	pubspec.yaml
@kkosang kkosang added feat Improvements or additions to documentation refactor This doesn't seem right ui Further information is requested labels Apr 26, 2025
@kkosang kkosang requested a review from FLU0RITE April 26, 2025 09:28
@kkosang kkosang assigned kkosang and FLU0RITE and unassigned kkosang and FLU0RITE Apr 26, 2025
@kkosang kkosang assigned FLU0RITE and unassigned FLU0RITE and kkosang Apr 26, 2025
Copy link
Collaborator

@FLU0RITE FLU0RITE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저만 안되는 이유를 찾을 수 있으면 좋겠네요,, ㅜㅜ

고생하셨습니다!!

Comment on lines +2 to +23
class PhoneNumber {
final String value;

PhoneNumber._(this.value);

factory PhoneNumber.fromLocal(String local) {
if (!local.startsWith('0')) {
throw FormatException("로컬 번호는 0으로 시작해야 합니다");
}
final formatted = "+82${local.substring(1)}";
return PhoneNumber._(formatted);
}

factory PhoneNumber.fromInternational(String international) {
if (!international.startsWith('+82')) {
throw FormatException("국제번호 형식이 아닙니다");
}
return PhoneNumber._(international);
}

@override
String toString() => value;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다 !!👍👍👍👍

@FLU0RITE FLU0RITE merged commit 475ef09 into develop Apr 29, 2025
1 check passed
@FLU0RITE FLU0RITE deleted the feat/phone branch April 29, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvements or additions to documentation refactor This doesn't seem right ui Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants