react-native-sticker-pipe
Getting started
$ npm install react-native-sticker-pipe --save
Mostly automatic installation
$ react-native link react-native-sticker-pipe
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-sticker-pipe
and addRNReactNativeStickerPipe.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNReactNativeStickerPipe.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.boldsofts.ReactNativeStickerPipePackage;
to the imports at the top of the file - Add
new ReactNativeStickerPipePackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-sticker-pipe' project(':react-native-sticker-pipe').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sticker-pipe/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-sticker-pipe')
Windows
- In Visual Studio add the
RNReactNativeStickerPipe.sln
innode_modules/react-native-sticker-pipe/windows/RNReactNativeStickerPipe.sln
folder to their solution, reference from their app. - Open up your
MainPage.cs
app
- Add
using Com.Boldsofts.RNReactNativeStickerPipe;
to the usings at the top of the file - Add
new RNReactNativeStickerPipePackage()
to theList<IReactPackage>
returned by thePackages
method
Usage
// TODO: usage; // TODO: What to do with the module?ReactNativeStickerPipe;
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.