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

ios KakaoLogin() 아무것도 반환을 안함 #12

Open
vpdls1511 opened this issue Dec 23, 2021 · 10 comments
Open

ios KakaoLogin() 아무것도 반환을 안함 #12

vpdls1511 opened this issue Dec 23, 2021 · 10 comments

Comments

@vpdls1511
Copy link

현재 앱 키는 네이티브 앱 키를 사용하고 있으며,
해당 키로 안드로이드는 잘 작동하고 있습니다.
IOS 등록도 Bundle Identifier 에 있는 이름을 사용하고 있고요.

AppDelegate.m 에는 openURL:(NSURL *)url 이 빠져있어 임의로 추가 후 if문을 추가한다면 스플래쉬 화면 이후 검은 화면이 뜹니다.

@vpdls1511 vpdls1511 changed the title ios 로그인이 안됩니다.. ios KakaoLogin() 아무것도 반환을 안함 Dec 23, 2021
@ChanghyeonYoon
Copy link
Contributor

AppDelegate.m 소스를 첨부 부탁드립니다. 에러가 발생한다면 에러를 상세히 알려주세요. @vpdls1511

@vpdls1511
Copy link
Author

소스는 project@actbase.io 으로 보냈습니다.

@vpdls1511
Copy link
Author

vpdls1511 commented Dec 23, 2021

--- [XCode] ----------

2021-12-23 18:42:11.297693+0900 EV_Car[23190:8544549] dnssd_clientstub write_all(20) DEFUNCT
2021-12-23 18:42:11.297819+0900 EV_Car[23190:8544549] dnssd_clientstub deliver_request ERROR: write_all(20, 66 bytes) failed
2021-12-23 18:42:11.297934+0900 EV_Car[23190:8544549] dnssd_clientstub write_all(20) DEFUNCT

@vpdls1511
Copy link
Author

로그는 이런식으로 나옵니다

@vpdls1511
Copy link
Author

메일로 로그 하나 더 보냈습니다

@ChanghyeonYoon
Copy link
Contributor

@vpdls1511 hyeon_dev@actbase.io 로 소스 및 로그 보내주시면 감사하겠습니다.

@vpdls1511
Copy link
Author

발송하였습니다

@ChanghyeonYoon
Copy link
Contributor

@vpdls1511 보내주신 AppDelegate.m 소스 확인해보니

- (BOOL)application:(UIApplication *)app
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
if ([WithKakaoSDK isKakaoTalkLoginUrl:url]) return [WithKakaoSDK handleOpenUrl:url];
return NO;
}

해당 부분이 없습니다. 추가하시고 확인 부탁드립니다.

추가적으로 라이브러리 설치하신 뒤 npx @actbase/react-kakaosdk 를 실행하시면 대부분 세팅이 자동으로 됩니다.

@vpdls1511
Copy link
Author

해결되었습니다 감사합니다 :)

@ChanghyeonYoon
Copy link
Contributor

Duplicate of #4

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

No branches or pull requests

2 participants