Skip to content

Conversation

@cirtuare
Copy link
Contributor

🐿️ Pull Requests

🪵 작업 브랜치

🥔 작업 내용

  • LocalVerificationView, LocalMapView 변경된 UI 반영
  • WithdrawalConfirmationView와 이번에 추가된 지역인증 리마인더 뷰가 동일해, 재사용 가능한 SemiShortView 구현. SemiShortType을 이니셜라이저로 받습니다
  • 지역인증 리마인더 VerificationReminderViewController & SpotListVC에 리마인드 로직 구현

🚨 참고 사항

📸 스크린샷

기능 스크린샷
아이폰 16 Pro

💥 To be sure

  • 모든 뷰가 잘 실행되는지 다시 한 번 체크해주세요 !

🌰 Resolve issue

@cirtuare cirtuare requested a review from yurim830 July 19, 2025 17:32
@cirtuare cirtuare self-assigned this Jul 19, 2025
@cirtuare cirtuare added 🌀 feature 새로운 기능 개발 🍓 수민 수민 labels Jul 19, 2025
@cirtuare cirtuare added this to the Sprint - 4 milestone Jul 19, 2025
Copy link
Collaborator

@yurim830 yurim830 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!!

import UIKit

final class WithdrawalConfirmationView: GlassmorphismView {
final class SemiShortModalView: GlassmorphismView {
Copy link
Collaborator

Choose a reason for hiding this comment

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

SemiShortModalView로 합친 것 좋네요! 👍👍

🐿️🐿️🐿️ setLayout 부분 62...73줄에서
cancelButton, confirmButton의 height에 heightRatio가 곱해져있는 탓에 코너가 어그러지는 것 같습니다!
코너가 호 모양이 될 수 있도록 높이 44로 고정해주실 수 있나요?

Comment on lines 81 to 80
switch localVerificationViewModel.flowType {
case .onboarding:
self.showDefaultAlert(title: "알림", message: "현재 동네인증이 불가능한 지역에 있어요", okText: "온보딩으로 이동", completion: {
if let sceneDelegate = UIApplication.shared.connectedScenes.first?.delegate as? SceneDelegate {
sceneDelegate.window?.rootViewController = OnboardingViewController(flowType: .login)
}
})
default:
self.showDefaultAlert(title: "알림", message: "현재 동네인증이 불가능한 지역에 있어요", okText: "홈으로 이동", completion: {
NavigationUtils.navigateToTabBar()})
}
self.showDefaultAlert(title: "알림", message: "현재 지역인증이 불가능한 지역에 있어요", okText: "홈으로 이동", completion: {
NavigationUtils.navigateToTabBar()})
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️🐿️🐿️
앱 첫 사용 유저일경우(온보딩프로세스) 지역인증 건너뛰면 온보딩 화면으로 가야하지 않나요?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이거 기획한테 디엠으로 물어봤는데 (디엠으로 물어본 이유: 자체 엣지 케이스 대응이라 피그마에 없어서, 안드랑 공유할 필요 X..! 이었는데 앞으로 스레드 팔게요 ㅠㅠ), 이제 지역인증 건너뛰기가 되면 홈으로 가게 돼서, 외국일 때도 홈으로 가게 하는 게 맞다고 판단했어요!

Comment on lines +761 to +774
guard AuthManager.shared.hasToken else { return }
guard !AuthManager.shared.hasVerifiedArea else { return }

let lastAlertTime = UserDefaults.standard.object(forKey: "lastLocalVerificationAlertTime") as? Date
let now = Date()

if let lastTime = lastAlertTime {
let timeDifference = now.timeIntervalSince(lastTime)
let hourDifference = timeDifference / 3600

if hourDifference < 24 { return }
// TODO: - QA 때 보여주기용 (릴리즈 시 삭제)
// if timeDifference < 10 { return }
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️
나중에 시간 비교 메소드를 Util에서 따로 구현해도 좋을 것 같네요!
현재 딥링크랑 SpotDetail 앰플에서도 같은 로직이 있어서요~

@cirtuare cirtuare merged commit 7e16517 into develop Jul 21, 2025
@cirtuare cirtuare deleted the feature/#229 branch August 12, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌀 feature 새로운 기능 개발 🍓 수민 수민

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 2.1.0 지역인증 UI 및 지역인증 리마인더 바텀시트

3 participants