New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-zaius

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-zaius

A bridge for the Zaius Android/iOS APK

0.0.14
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-native-zaius

Getting started

$ npm install react-native-zaius --save

Manual installation

iOS pod
  • Add pod 'RNZaius', :path => '../node_modules/react-native-zaius' in your Podfile
  • Run pod install
Android
  • Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.leciseau.RNZaiusPackage; to the imports at the top of the file
  • Add new RNZaiusPackage() to the list returned by the getPackages() method
  • Append the following lines to android/settings.gradle:
    include ':react-native-zaius'
    project(':react-native-zaius').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-zaius/android')
    
  • Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-zaius')
    

Usage

import Zaius from 'react-native-zaius';

// TODO: What to do with the module?
RNZaius;

Keywords

react-native

FAQs

Package last updated on 18 Mar 2019

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