This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
fan-w-suzuki edited this page Nov 6, 2019
·
2 revisions
- Android Studio: 3.5.1
- Xcode: 11.1.0
- react: 16.9.0
- react-native: 0.61.1
- react-native-cli: 2.0.1
If you use ReactNative version less than 0.60
, check here
- cd
path/to/your/react-native-project
npm i react-native-nend-bridger
react-native link react-native-nend-bridger
- Add maven url
'http://fan-adn.github.io/nendSDK-Android-lib/library'
to your project-levelbuild.gradle
.allprojects { repositories { mavenLocal() google() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } maven { // nendSDK url 'http://fan-adn.github.io/nendSDK-Android-lib/library' } } }
- cd
path/to/your/react-native-project/ios
- Open
YOUR_PROJECT.xcworkspace
- Add new
Swift
file into your main build target for auto creationSwift-Bridging-Header
andObjective-C generated interface Header