0.1.25 • Published 5 years ago
@trunkrs/react-native-signature-capture v0.1.25
react-native-signature-pad
Getting started
$ npm install react-native-signature-pad --save
Mostly automatic installation
$ react-native link react-native-signature-pad
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-signature-pad
and addTRNReactNativeSignaturePad.xcodeproj
- In XCode, in the project navigator, select your project. Add
libTRNReactNativeSignaturePad.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java
- Add
import com.trunkrs.signature-pad.TRNReactNativeSignaturePadPackage;
to the imports at the top of the file - Add
new TRNReactNativeSignaturePadPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-signature-pad' project(':react-native-signature-pad').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-signature-pad/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-signature-pad')
Usage
import TRNReactNativeSignaturePad from 'react-native-signature-pad';
// TODO: What to do with the module?
TRNReactNativeSignaturePad;
0.1.25
5 years ago
0.1.24
5 years ago
0.1.23
6 years ago
0.1.22
6 years ago
0.1.21
6 years ago
0.1.20
6 years ago
0.1.19
6 years ago
0.1.18
6 years ago
0.1.17
6 years ago
0.1.16
6 years ago
0.1.15
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago