All Projects → zoomyu → React Native Signature View

zoomyu / React Native Signature View

Licence: mit
A react-native component for signing.

Projects that are alternatives of or similar to React Native Signature View

Awesome Iocs
A collection of sources of indicators of compromise.
Stars: ✭ 526 (+1653.33%)
Mutual labels:  signature
Jose Jwt
Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) Implementation for .NET and .NET Core
Stars: ✭ 692 (+2206.67%)
Mutual labels:  signature
Cnn Watermark Removal
Fully convolutional deep neural network to remove transparent overlays from images
Stars: ✭ 904 (+2913.33%)
Mutual labels:  watermark
Android Getapkinfo
获取Android应用基本信息的工具集
Stars: ✭ 535 (+1683.33%)
Mutual labels:  signature
Die Engine
DIE engine
Stars: ✭ 648 (+2060%)
Mutual labels:  signature
Wavideobox
秒级! 三行代码实现iOS视频压缩、变速、混音、合并、GIF水印、旋转、换音、裁剪 ! 支持不同分辩率,支持你能想到的各种混合操作! 扩展性强...更多功能不断增加中... iOS 8.0 + 有需要的功能或错误欢迎issue,笔者会及时更新
Stars: ✭ 707 (+2256.67%)
Mutual labels:  watermark
Blind watermark
Blind Watermark (图片盲水印,提取水印无须原图!)
Stars: ✭ 441 (+1370%)
Mutual labels:  watermark
Signature pad
HTML5 canvas based smooth signature drawing
Stars: ✭ 7,623 (+25310%)
Mutual labels:  signature
Uber Apk Signer
A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing.
Stars: ✭ 677 (+2156.67%)
Mutual labels:  signature
Multisignaturewallet
311 byte EIP712 Signing Compliant Delegate-Call Enabled MultiSignature Wallet for the Ethereum Virtual Machine
Stars: ✭ 16 (-46.67%)
Mutual labels:  signature
Jwt Framework
JWT Framework
Stars: ✭ 577 (+1823.33%)
Mutual labels:  signature
React Native Sketch
🎨 A React Native <Sketch /> component for touch-based drawing.
Stars: ✭ 627 (+1990%)
Mutual labels:  signature
Automatic Watermark Detection
Project for Digital Image Processing
Stars: ✭ 754 (+2413.33%)
Mutual labels:  watermark
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (+1680%)
Mutual labels:  signature
Wechat Jssdk Signature
微信JSSDK服务端生成签名认证,包含后端PHP与前端JS的实现,PHP后端有缓存access_token、jsapi_ticket。
Stars: ✭ 19 (-36.67%)
Mutual labels:  signature
Easywatermark
🔒 🖼 Securely, easily add a watermark to your sensitive photos. 安全、简单地为你的敏感照片添加水印,防止被小人泄露、利用
Stars: ✭ 519 (+1630%)
Mutual labels:  watermark
Watermark Dom
watermark.js是基于DOM对象实现的BS系统的水印,确保系统保密性,安全性,降低数据泄密风险,简单轻量,支持多属性配置,动态计算水印,水印防被删(监听水印组件元素删除并重新添加,监听改变水印的属性并重新添加)。1、支持2种方式导入使用,2、水印插件-testTool(测试工具),3、内置3种全局API方法,等等。欢迎访问:
Stars: ✭ 695 (+2216.67%)
Mutual labels:  watermark
Myst
Secure Multiparty Key Generation, Signature and Decryption javacard applet
Stars: ✭ 21 (-30%)
Mutual labels:  signature
Hazedumper
up to date csgo offsets and hazedumper config
Stars: ✭ 860 (+2766.67%)
Mutual labels:  signature
Flirtdb
A community driven collection of IDA FLIRT signature files
Stars: ✭ 809 (+2596.67%)
Mutual labels:  signature

react-native-signature-view

npm Version Build Status License npm

SignatureView component for React Native (Android and iOS)

Getting Started

npm i --save react-native-signature-view

Mostly automatic installation

react-native link react-native-signature-view

Manual installation

Android

Edit android/settings.gradle to look like this:

include ':app'

+ include ':react-native-signature-view'
+ project(':react-native-signature-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-signature-view/android')

Edit android/app/build.gradle to look like this:

dependencies {
  compile fileTree(dir: "libs", include: ["*.jar"])
  compile "com.android.support:appcompat-v7:23.0.1"
  compile "com.facebook.react:react-native:+"  // From node_modules
+ compile project(':react-native-signature-view')
}

only RN 0.29+ Edit your MainApplication.java (deep in android/app/src/main/java/...) to look like this (note two places to edit):

+ import com.react_native_signature.RCTSignaturePackage;
...
  new MainReactPackage(),
+ new RCTSignaturePackage()
}

iOS

- Welcome iOS developer join, write this component together!
  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-signature-view and add ios/RCTSignatureView.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRCTSignatureView.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Properties

  • signatureColor : FontColor of the signature, you can use HEX or RGBA color codes

  • watermarkString : Content of the watermark

  • watermarkSize : FontSize of the watermark

  • watermarkColor : FontColor of the watermark, you can use HEX or RGBA color codes

  • watermarkAngle : Watermark rotation angle,

  • watermarkLineSpacing : Line spacing between watermarks

  • watermarkWordSpacing : Word spacing between watermarks

Methods

  • _saveSignature() : when called it will save the signature and returns savePath on onSaveEvent() callback

  • _resetSignature() : when called it will clear the signature on the canvas

Callback Props

  • onSaveEvent : Triggered when _saveSignature() is called, which return signature file path.

Usage

To see all available function take a look at App.js

  <SignatureView
    ref={'sign'}
    style={{flex:1}}
    watermarkString={'ORDER--12345678'}
    watermarkSize={14}
    watermarkColor={'#888888'}
    signatureColor={'#000000'}
    watermarkLineSpacing={20}
    watermarkWordSpacing={10}
    watermarkAngle={45}
    onSaveEvent={(msg)=>{
      console.log('onSaveEvent --->>', msg);
    }}
  />

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].