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] 푸시 알림, 리캡 생성 #7

Merged
merged 122 commits into from
Mar 6, 2025
Merged

[Feat] 푸시 알림, 리캡 생성 #7

merged 122 commits into from
Mar 6, 2025

Conversation

hyosin-Jang
Copy link
Collaborator

@hyosin-Jang hyosin-Jang commented Mar 4, 2025

🛠 작업 내용

  • 푸시 알림 구현 (foreground/background/quit, android/ios 확인 완료)
    • 로그아웃 상태에서 시스템 노티 클릭 시, 로그인 후 랜딩 페이지 이동
  • 마이페이지 알림 스위치 Off 시, 토큰 삭제
  • 리캡 비디오 생성 (android/ios 확인 완료)
  • 갤러리 다운로드 기능 구현 (ios 확인 완료, android는 기타 사항 참고)
  • 공유 사용자 수락, 거절 API 변경건 반영
  • 알림함 초대 수락하기 후, disabled 처리

스크린샷

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-04.at.23.mp4

👀 참고 문서

  • 리캡 생성 시, base64 dataUri -> blob으로 만들 때, Android Network Request Failed 에러 발생
    • dataUri fetch 미지원하는 듯으로 보임
  • 해결: 임시 파일로 저장
    const filePath = await captureRef(viewRef, {
    format: "jpg",
    quality: 0.8,
    result: "tmpfile",
    })
    filePaths.push(`file://${filePath}`)
    }
    handleRecapFramedPhoto(filePaths)

🎸 기타

  • android 갤러리 다운로드 클릭 시, 설정으로 이동하는데 미디어 권한 안보이는 이슈
  • 알림 fcm 토큰 이슈, 일정 기간 지나면 새로 발급해야 알림 수신 가능 -> QA 필요
    • 알림 동의했는데 시스템 알림 안 뜰 경우, 마이페이지 -> 알림 Off/On 토큰 재발급 받기

@hyosin-Jang hyosin-Jang requested a review from moong23 March 6, 2025 12:25
@hyosin-Jang hyosin-Jang merged commit 5cd8f8f into main Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants