This package has been deprecated

Author message:

Use a actbase-native-kakaosdk (https://www.npmjs.com/package/actbase-native-kakaosdk)

react-native-ccs-kakaosdk

1.0.4 • Public • Published

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();

Readme

Keywords

Package Sidebar

Install

npm i react-native-ccs-kakaosdk

Weekly Downloads

1

Version

1.0.4

License

none

Unpacked Size

33.6 kB

Total Files

14

Last publish

Collaborators

  • lunyx