Network Powering Makers

    react-native-pyy-rn-lib

    1.1.17 • Public • Published

    react-native-pyy-rn-lib

    Getting started

    $ npm install react-native-pyy-rn-lib --save

    Mostly automatic installation

    $ react-native link react-native-pyy-rn-lib

    Manual installation

    iOS

    1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
    2. Go to node_modulesreact-native-pyy-rn-lib and add RNPyyRnLib.xcodeproj
    3. In XCode, in the project navigator, select your project. Add libRNPyyRnLib.a to your project's Build PhasesLink Binary With Libraries
    4. Run your project (Cmd+R)<

    Android

    1. Open up android/app/src/main/java/[...]/MainActivity.java
    • Add import com.quenice.pyyrmlib.RNPyyRnLibPackage; to the imports at the top of the file
    • Add new RNPyyRnLibPackage() to the list returned by the getPackages() method
    1. Append the following lines to android/settings.gradle:
      include ':react-native-pyy-rn-lib'
      project(':react-native-pyy-rn-lib').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-pyy-rn-lib/android')
      
    2. Insert the following lines inside the dependencies block in android/app/build.gradle:
        compile project(':react-native-pyy-rn-lib')
      

    Usage

    import RNPyyRnLib from 'react-native-pyy-rn-lib';
     
    // TODO: What to do with the module?
    RNPyyRnLib;

    Install

    npm i react-native-pyy-rn-lib

    DownloadsWeekly Downloads

    2

    Version

    1.1.17

    License

    Apache-2.0

    Unpacked Size

    63 kB

    Total Files

    15

    Last publish

    Collaborators

    • pengyuanyang