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

[feature/push-notification] 로컬 푸시 알림을 구현한다. #196

Open
5 of 6 tasks
EunsuSeo01 opened this issue Sep 30, 2023 · 0 comments · Fixed by #199
Open
5 of 6 tasks

[feature/push-notification] 로컬 푸시 알림을 구현한다. #196

EunsuSeo01 opened this issue Sep 30, 2023 · 0 comments · Fixed by #199
Assignees
Labels
feat 새로운 기능 추가 important 중요 이슈 seori seori(은수)의 이슈

Comments

@EunsuSeo01
Copy link
Collaborator

EunsuSeo01 commented Sep 30, 2023

스크린샷 2023-09-30 오후 5 19 26

서론

  • 원래 서버에서 FCM으로 푸시알림 보내주는 것으로 구현했었으나
  • 누구는 알림이 1번만 오고 누구는 알림이 2번씩 오는 상황 발생
  • 서버에서 1분마다 스케줄링 하기엔 부하가 생길 수 있어서 00분과 30분밖에 커버하지 못함 -> 더 선택의 폭이 넓었으면 좋겠다는 유저 피드백
  • 결론: 로컬 푸시 알림으로 변경 -> 1번, 2번 모두 해결 가능 + 더 간단하다

구현 기능

  • 로컬 Push Notification 기능

작업 내용

주의사항

@EunsuSeo01 EunsuSeo01 added feat 새로운 기능 추가 seori seori(은수)의 이슈 important 중요 이슈 labels Sep 30, 2023
@EunsuSeo01 EunsuSeo01 added this to the v1.0.3 업데이트 milestone Sep 30, 2023
@EunsuSeo01 EunsuSeo01 self-assigned this Sep 30, 2023
EunsuSeo01 added a commit that referenced this issue Oct 21, 2023
기존 30분 간격에서 1분 간격으로 변경
EunsuSeo01 added a commit that referenced this issue Oct 21, 2023
slice 함수 추가
EunsuSeo01 added a commit that referenced this issue Oct 21, 2023
하위 목표가 API를 통해 생성되고 나면 로컬 알림을 생성
수정되고 나면 기존의 로컬 알림을 삭제 후 업데이트된 정보로 로컬 알림 다시 생성
삭제되고 나면 기존의 로컬 알림도 삭제
추가적으로 하위 목표 생성 및 수정의 경우 API response 형식이 detailGoalId를 반환하는 것으로 변경됨
EunsuSeo01 added a commit that referenced this issue Oct 23, 2023
요일까지 identifier에 포함시켜서 요일별로 알림을 생성할 수 있게 변경
알림 수정의 경우 합집합을 사용하여 삭제된 요일까지 포함시켜 알림을 싹 다 날리고
req body에 있는 알림들을 생성하는 로직으로 구현함
EunsuSeo01 added a commit that referenced this issue Oct 23, 2023
identifier에 요일 데이터 추가
EunsuSeo01 added a commit that referenced this issue Oct 29, 2023
@EunsuSeo01 EunsuSeo01 linked a pull request Oct 29, 2023 that will close this issue
5 tasks
EunsuSeo01 added a commit that referenced this issue Apr 26, 2024
…cation

[#196] 원격 푸시 알림을 로컬 푸시 알림으로 변경
EunsuSeo01 added a commit that referenced this issue Apr 26, 2024
Parkjju added a commit that referenced this issue Apr 26, 2024
Parkjju added a commit that referenced this issue Apr 26, 2024
…cation

[#196] 설정화면 토글 - 외부 설정 앱과 값 바인딩
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 새로운 기능 추가 important 중요 이슈 seori seori(은수)의 이슈
Projects
None yet
1 participant