1.1.36 • Published 2 years ago
react-native-demo-library v1.1.36
react-native-demo-library
Getting started
$ npm install react-native-demo-library --save
Mostly automatic installation
$ react-native link react-native-demo-library
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-demo-library
and addRNDemoLibrary.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNDemoLibrary.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.RNDemoLibraryPackage;
to the imports at the top of the file - Add
new RNDemoLibraryPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-demo-library' project(':react-native-demo-library').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-demo-library/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-demo-library')
Usage
import RNDemoLibrary from 'react-native-demo-library';
// TODO: What to do with the module?
RNDemoLibrary;
1.1.36
2 years ago
1.1.35
2 years ago
1.1.34
2 years ago
1.1.33
2 years ago
1.1.32
2 years ago
1.1.31
2 years ago
1.1.30
2 years ago
1.1.29
2 years ago
1.1.28
2 years ago
1.1.27
2 years ago
1.1.26
2 years ago
1.1.25
2 years ago
1.1.24
2 years ago
1.1.23
2 years ago
1.1.22
2 years ago
1.1.21
2 years ago
1.1.20
2 years ago
1.1.19
2 years ago
1.1.18
2 years ago
1.1.17
2 years ago
1.1.16
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.13
2 years ago
1.1.12
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago