카카오 로그인

Buzz·2022년 2월 9일

React Native

목록 보기
5/6

https://devtalk.kakao.com/t/react-native/110334/2

https://devtalk.kakao.com/t/react-native/113080

https://devtalk.kakao.com/t/react-native-node-js/118250

https://devtalk.kakao.com/t/rn/107321

https://github.com/react-native-seoul/react-native-kakao-login

앱 서명: https://developer.android.com/studio/publish/app-signing#debug-mode

해쉬키:https://dev-donghwan.tistory.com/3

https://velog.io/@pcsnms/Kakao-Login%EC%9D%84-%EC%A0%81%EC%9A%A9%ED%95%98%EC%9E%90

https://coding-dahee.tistory.com/159

https://kasumil.tistory.com/139

https://torimaru.tistory.com/13

@actbase/react-native-kakao-login: https://sumini.dev/guide/013-react-native-kakao-login/

API: https://steemit.com/zan/@anpigon/grar9-react-native-2

import {login} from '@react-native-seoul/kakao-login';

const signInWithKakao = async () => {
    const token = await login();
    setResult(JSON.stringify(token));
  };

💫


        <TouchableOpacity>
 
          <Image source={require('./images/sample_image_button.png')} />
          
        </TouchableOpacity>

이렇게 KakaoButton.js를 만들고
WelcomeScreen.js에서

<KakaoButton onClick={SignInWithKakao} />

를 했는데

    <TouchableOpacity style={styles.iconbutton} onPress={signInWithKakao}>
      <Image source={require('../assets/Kakao.png')} />
    </TouchableOpacity>

처럼 TouchableOpacity에서 설정해야함

0개의 댓글