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

fix: followChannel method response in web #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keinn51
Copy link

@keinn51 keinn51 commented Jan 12, 2025

Type of change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhance (enhance performance, api, etc)
  • Chore
  • This change requires a documentation update
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

What does this change?

followChannel 메서드를 웹에서 사용시 리스폰스 처리를 추가했습니다.
기존에는 채널 추가를 취소하더라도 response가 true로 반환되어, 사용자가 채널 추가를 취소했는지 판단하기 어려운 상황이었습니다.
(아래의 상황에서 취소입니다.)

카카오 채널 추가하기

카카오 공식 문서를 통해 response 타입을 알아내어 개발해보았습니다.
위의 상황에서 채널 추가를 했을 시에는 true를 반환하고, 취소한 경우나 채널 ID가 이상한 경우 false를 반환할 것입니다.
카카오 공식 문서

Copy link

vercel bot commented Jan 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-native-kakao ⬜️ Ignored (Inspect) Visit Preview Jan 12, 2025 11:57am

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

Successfully merging this pull request may close these issues.

1 participant