Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 스플래시 페이지 구성 #99

Merged
merged 6 commits into from
Nov 27, 2024
Merged

feat: 스플래시 페이지 구성 #99

merged 6 commits into from
Nov 27, 2024

Conversation

l-lyun
Copy link
Contributor

@l-lyun l-lyun commented Nov 27, 2024

#️⃣연관된 이슈

resolves: #98

📝작업 내용

  • react-native-splash-screen 라이브러리 이용했습니다.
  • 피그마에서 export 했는데 로고 파일이 너무 작아서 현재 화면 이슈 발생합니다.
    • 로고 요청하고, 작업되면 레이아웃 차후 진행하겠습니다.

스크린샷 (선택)

iOS Android
iOS Screenshot 1 Android Screenshot 1

💬리뷰 요구사항(선택)

셋팅페이지, 초기페이지 권한 설정 한번에 하면 좋을 것 같아 레이아웃 미완성이지만 피알 올렸습니다.
/utils에 fcm, notification 파일 중복으로 있는데, 권한 설정 작업하면서 통합하겠습니다.

@l-lyun l-lyun self-assigned this Nov 27, 2024
useEffect(() => {
const initializeApp = async () => {
try {
// TODO: 권한 요청 로직 호출
Copy link
Contributor Author

@l-lyun l-lyun Nov 27, 2024

Choose a reason for hiding this comment

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

@itslitulinchpin2
해당 위치에 권한 비동기로 권한 설정하면 될 것 같은데..
테스트시 권한요청함수 확인 버튼 터치 전에 finally 블록 SplashScreen.hide() 이 실행되어 초기화면이 꺼집니다.
같이 방법좀 찾아주시면 감사하겠습니다..!

Copy link
Contributor

Choose a reason for hiding this comment

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

try문 안에서 await Promise.all()로 권한 받아오기를 비동기처리하면 안되려나요? 이따 로컬에서 더 자세히 해볼게요 ~!

Copy link
Contributor

@itslitulinchpin2 itslitulinchpin2 left a comment

Choose a reason for hiding this comment

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

👍🏿👍🏿권한세팅은 pr따로 올려도 될것같네요

@l-lyun l-lyun merged commit 828e5e7 into main Nov 27, 2024
1 check passed
@l-lyun l-lyun deleted the feature/splash-screen branch November 27, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(client): 스플레시 페이지 제작
2 participants