react-native-live-pinch v2.0.5
react-native-live-pinch
Getting started
$ npm install react-native-live-pinch --save
Mostly automatic installation
$ react-native link react-native-live-pinch
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-live-pinch
and addRNLivePinch.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNLivePinch.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.livepinch.sdk.RNLivePinchPackage;
to the imports at the top of the file - Add
new RNLivePinchPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-live-pinch' project(':react-native-live-pinch').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-live-pinch/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-live-pinch')
Usage
import RNLivePinch from 'react-native-live-pinch';
// TODO: What to do with the module?
RNLivePinch;
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago