react-native-ccs-kakaosdkdeprecated

![platforms](https://img.shields.io/badge/platforms-Android%20%7C%20iOS-brightgreen.svg?style=flat-square&colorB=191A17) [![npm](https://img.shields.io/npm/v/react-native-ccs-kakaosdk.svg?style=flat-square)](https://www.npmjs.com/package/react-native-ccs-

Usage no npm install needed!

<script type="module">
  import reactNativeCcsKakaosdk from 'https://cdn.skypack.dev/react-native-ccs-kakaosdk';
</script>

README

KakaoSDK for React Native

platforms npm npm github issues github closed issues Issue Stats

Getting started

$ npm install react-native-ccs-kakaosdk --save

Mostly automatic installation

$ react-native link react-native-ccs-kakaosdk

Manual installation

iOS (without CocoaPod)

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-ccs-kakaosdk and add RNCcsKakaosdk.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNCcsKakaosdk.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

iOS (with CocoaPod)

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-ccs-kakaosdk and add RNCcsKakaosdk.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNCcsKakaosdk.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNCcsKakaosdkPackage; to the imports at the top of the file
  • Add new RNCcsKakaosdkPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-ccs-kakaosdk'
    project(':react-native-ccs-kakaosdk').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-ccs-kakaosdk/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-ccs-kakaosdk')
    

Initalizing project

iOS

Android

Usage

import KakaoSDK from 'react-native-ccs-kakaosdk';

// TODO: What to do with the module?
KakaoSDK.login().then().catch();