Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

[제안] 뱃지 획득을 이벤트로 처리하는 방식 #186

Open
2 tasks
Catnap421 opened this issue Jul 9, 2021 · 3 comments
Open
2 tasks

[제안] 뱃지 획득을 이벤트로 처리하는 방식 #186

Catnap421 opened this issue Jul 9, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Catnap421
Copy link
Contributor

AS-IS

현재는 뱃지 획득을 필요한 로직을 만족할 경우, 획득했음을 프론트에 dto로 전달하는 방식
이러한 방식은, 뱃지 획득한 순간을 놓치게 될 경우(예를 들면 새로운 뱃지 조건을 기존 유저가 달성한 경우),
획득한 지를 모르는 사용자 경험이 생김

TO-BE

이벤트 방식으로 처리하여, 프론트에서 팝업을 띄워주고, 확인하는 방식으로 변경하면 새로운 뱃지가 생기더라도,
사용자는 새 뱃지를 획득했음을 알 수 있음

할 일

  • 프론트와 이야기가 돼야 함
  • 이벤트 방식으로 변경하기

마감기한

@Catnap421 Catnap421 added the help wanted Extra attention is needed label Jul 9, 2021
@NaRDo627
Copy link
Contributor

NaRDo627 commented Jul 9, 2021

혹시 앱에서 이벤트를 받을 수있는 예제나 레퍼런스가 있을까?

@Catnap421
Copy link
Contributor Author

수현이가 팝업창이 아무 뷰에서나 띄울 수 있다고 해서, 한 번 찾아볼게!

@Catnap421
Copy link
Contributor Author

https://www.cloudamqp.com/blog/rabbitmq-on-android-studio.html
https://www.masterqna.com/android/77155/mqtt-%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-rabbitmq
rabbitmq와 같은 pub/sub 이벤트 메시징 플랫폼을 사용하면 될 듯!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants