crossplatformkorea / react-native-kakao-login

react-native native module for Kakao sign in.
MIT License
352 stars 134 forks source link

[IOS] Error: invalid android_key_hash or ios_bundle_id or web_site_url #101

Closed saeromCho closed 4 years ago

saeromCho commented 4 years ago

Version of kakao-login libraries

@2.3.0

Version of react-native

@0.61.5

Platforms you faced the error (IOS or Android or both?)

IOS...

Expected behavior

react-native run-ios로 simulator를 돌리고 카카오톡 로그인을 했을 때 정상 로그인이 되어야 합니다.

Actual behavior

react-native run-ios 시 카카오 로그인을 했을 때, 안드로이드에서 키 해쉬를 등록하지 않았을 때에 대한 에러인 Error: invalid android_key_hash or ios_bundle_id or web_site_url 가 발생합니다.

안드로이드일 때와 ios일의 key-hash는 터미널에서 keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass android -keypass android | openssl sha1 -binary | openssl base64 를 통해서 둘 다 등록해 두었습니다.

Tested environment (Emulator? Real Device?)

Simulator에서 에러가 발생합니다.

saeromCho commented 4 years ago

I solve this issue, bundle_id issue. Thank you!