🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

laatoo.io/sdk

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laatoo.io/sdk

Go Modules
Version
v3.0.0+incompatible
Version published
Created
Source

react-native-laatoonative

Getting started

$ npm install react-native-laatoonative --save

Mostly automatic installation

$ react-native link react-native-laatoonative

Manual installation

iOS

  • In XCode, in the project navigator, right click Libraries âžś Add Files to [your project's name]
  • Go to node_modules âžś react-native-laatoonative and add RNLaatoonative.xcodeproj
  • In XCode, in the project navigator, select your project. Add libRNLaatoonative.a to your project's Build Phases âžś Link Binary With Libraries
  • Run your project (Cmd+R)<

Android

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

Windows

Read it! :D

  • In Visual Studio add the RNLaatoonative.sln in node_modules/react-native-laatoonative/windows/RNLaatoonative.sln folder to their solution, reference from their app.
  • Open up your MainPage.cs app
  • Add using Com.Reactlibrary.RNLaatoonative; to the usings at the top of the file
  • Add new RNLaatoonativePackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNLaatoonative from 'react-native-laatoonative';

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

FAQs

Package last updated on 19 Jun 2017

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