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 호출이 일어나지 않는 이슈 #84

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

API 호출이 일어나지 않는 이슈 #84

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

Comments

@easyhooon
Copy link
Collaborator

easyhooon commented Aug 22, 2023

특정 시점 이후로 버튼을 눌러도 API Request 요청이 이뤄지지 않는 이슈

다른 화면에 갔다가 돌아오면(목록에서 다른 반다라트로 갔다가 다시 돌아오는 등의) 다시 정상적으로 실행되는 경우가 존재하기에 isNetworking 이 True 인 채로 다음 스텝에 진입하게 되어 함수내의 usecase(API 호출)이 일어나지 않는 케이스도 존재하는 것 같음

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

#76 과 동일한 문제
API 호출이 일어나지 않아서 request failed 로그가 호출되는 것
image
image

@easyhooon
Copy link
Collaborator Author

easyhooon commented Aug 26, 2023

다른 화면에 갔다가 돌아오면(목록에서 다른 반다라트로 갔다가 다시 돌아오는 등의) 다시 정상적으로 실행되는 경우가 존재하기에 isNetworking 이 True 인 채로 다음 스텝에 진입하게 되어 함수내의 usecase(API 호출)이 일어나지 않는 케이스도 존재하는 것 같음

해당 문제가 원인이 되지 않는듯, 애초에 getBandalartList API 가 요청이 시도는 되는데(Log) 서버에 요청 자체가 실패하는 것이므로, isNetworking 때문이라면 함수 자체가 스킵되어(early return) 요청 시도(Log) 자체가 되지 않을 것

@easyhooon
Copy link
Collaborator Author

retrofit 으로 migration 해보고 같은 이슈가 발생하는지 확인 해볼 예정

@easyhooon
Copy link
Collaborator Author

easyhooon commented Aug 29, 2023

#117 retrofit으로 migration 하여 해결

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