react-native-zaius

0.0.14 • Public • Published

react-native-zaius

Getting started

$ npm install react-native-zaius --save

Manual installation

iOS pod

  1. Add pod 'RNZaius', :path => '../node_modules/react-native-zaius' in your Podfile
  2. Run pod install

Android

  1. 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
  1. 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')
    
  2. 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;

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i react-native-zaius

      Weekly Downloads

      2

      Version

      0.0.14

      License

      MIT

      Unpacked Size

      18.2 kB

      Total Files

      15

      Last publish

      Collaborators

      • drakncel
      • yfuks
      • florianpigis
      • dbenloukil