New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-native-gestureunlock

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-gestureunlock

A gesture component for react native to unlock the screen

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

react-native-gestureunlock

Introduction

This is a reusable react native component with native component wrapped for gesture-unlock use, example for quick start is here.

Install

  • Run npm install --save react-native-gestureunlock
  • Import all the files under ./node_modules/eact-native-gestureunlock/gestureunlock directory into your native project(within ./iOS/, Xcode for iOS, haven't worked out for native Android though 😌).

Usage

Please refer to Demo, for more questions, just feel free to contact me via email chenx218@gmail.com, or commit issues on Github when bug arises!

Note: use built-in react native component like Image may suffer from inconvenient naming scheme, to avoid that, just put the custom images under resource.bundle, and set the certain property by passing image name in JS.

License

The react-native-gestureunlock is released under MIT license. See License

介绍

这是个方便复用的react native组件,封装了对应的原生UI组件,例子可以参考这个:

安装

  • 执行 npm install --save react-native-gestureunlock
  • 将工程目录下的./node_modules/eact-native-gestureunlock/gestureunlock 内的所有文件导入你的Xcode项目中(在RN项目的iOS文件夹内),安卓的原生项目尚未完成,后期会更新

使用

请参考示例程序。若还有问题可以给我发邮件chenx218@gmail.com,有bug可以在Github提issue

使用自定义的图片的时候,可以将新图放入Xcode项目中的resource bundle下,在JS中使用时直接传入文件名即可。

证书

MIT,参考证书

Keywords

react-native

FAQs

Package last updated on 12 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts