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

공유하기 API 중복 호출이 막아지지 않는 이슈 #78

Closed
easyhooon opened this issue Aug 22, 2023 · 2 comments
Closed

공유하기 API 중복 호출이 막아지지 않는 이슈 #78

easyhooon opened this issue Aug 22, 2023 · 2 comments
Assignees
Labels
hotfix tasks related to fix bugs

Comments

@easyhooon
Copy link
Collaborator

easyhooon commented Aug 22, 2023

홈화면의 공유하기 버튼을 누르면 로딩스크린이 띄워지지 않으므로 중복으로 버튼을 누를수 있음
이때 문제는 중복으로 호출하게 되면 공유하기 기능이 작동하지 않는다는 점

다른 방법으로 API 중복호출을 막는 방법을 추가해야함

이는 목표 달성화면에서도 마찬가지

@easyhooon easyhooon self-assigned this Aug 22, 2023
@easyhooon easyhooon added the hotfix tasks related to fix bugs label Aug 22, 2023
@easyhooon
Copy link
Collaborator Author

목표 달성 화면에서 shareBandalart API를 job 을 사용하는 방식으로 중복 호출을 막아본 결과 눌를때마다 API가 정상적으로 호출되는것을 확인할 수 있었음(공유 바텀시트가 연속해서 화면 위에 쌓이는 구조)

반면 홈화면에서 공유하기 버튼을 연속해서 누르면(isNetworking으로 중복 호출을 막는 구조) 한번만 누를땐 정상 호출되던 API가 정상 호출되지 않고 공유하기 바텀시트가 올라오지 않음 -> 다른 반다라트로 전환하고 다시 돌아와야 호출이 다시 가능함

@easyhooon
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix tasks related to fix bugs
Projects
None yet
Development

No branches or pull requests

1 participant