react-native-kakao-auths
v1.0.22
Published
react-native for kakao-auths by shpongle2634
Downloads
131
Maintainers
Readme
react-native-kakao-auths
Getting started
$ npm install react-native-kakao-auths --save
Mostly automatic installation
$ react-native link react-native-kakao-auths
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-kakao-auths
and addRNKakaoAuths.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNKakaoAuths.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNKakaoAuthsPackage;
to the imports at the top of the file - Add
new RNKakaoAuthsPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-kakao-auths' project(':react-native-kakao-auths').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-kakao-auths/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-kakao-auths')
Windows
- In Visual Studio add the
RNKakaoAuths.sln
innode_modules/react-native-kakao-auths/windows/RNKakaoAuths.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using Kakao.Auths.RNKakaoAuths;
to the usings at the top of the file - Add
new RNKakaoAuthsPackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
import RNKakaoAuths from 'react-native-kakao-auths';
// TODO: What to do with the module?
RNKakaoAuths;