Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trackforce/react-native-crypto

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trackforce/react-native-crypto

React-native crypto module

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

npm version

React Native Crypto

Common encryption/decryption for react-native

Installation

npm install @trackforce/react-native-crypto

or

yarn add @trackforce/react-native-crypto

Linking Automatically

react-native link

Linking Manually

iOS
  • See Linking Libraries OR
  • Drag RCTCrypto.xcodeproj to your project on Xcode.
  • Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag libRCTCrypto.a from the Products folder inside the RCTCrypto.xcodeproj.
(Android)
...
include ':@trackforce/react-native-crypto'
project(':@trackforce/react-native-crypto').projectDir = new File(rootProject.projectDir, '../node_modules/@trackforce/react-native-crypto/android')
  • In android/app/build.gradle
...
dependencies {
    ...
    compile project(':@trackforce/react-native-crypto')
}
  • register module (in MainApplication.java)
......
import com.trackforce.aes.RCTCryptoPackage;

......

@Override
protected List<ReactPackage> getPackages() {
   ......
   new RCTCryptoPackage(),
   ......
}

Local development

  1. yarn install
  2. cd example
  3. yarn install
  4. yarn run-ios

Note: React native doesn't support Symlinks. See [Stackoverflow] (https://stackoverflow.com/questions/44061155/react-native-npm-link-local-dependency-unable-to-resolve-module).

Usage

Example

See example App.tsx for usage

methods

See Typescript typings

Keywords

FAQs

Package last updated on 12 Dec 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc