react-native-letote-sensors

3.6.0 • Public • Published

react-native-letote-sensors

Getting started

$ npm install react-native-letote-sensors --save

Mostly automatic installation

$ react-native link react-native-letote-sensors

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-letote-sensors and add RNSensors.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSensors.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.rnsensors.RNSensorsPackage; to the imports at the top of the file
  • Add new RNSensorsPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-letote-sensors'
    project(':react-native-letote-sensors').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-letote-sensors/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-letote-sensors')
    

Windows

Read it! :D

  1. In Visual Studio add the RNSensors.sln in node_modules/react-native-letote-sensors/windows/RNSensors.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Sensors.RNSensors; to the usings at the top of the file
  • Add new RNSensorsPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNSensors from 'react-native-letote-sensors';
 
// TODO: What to do with the module?
RNSensors;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.6.00latest

Version History

VersionDownloads (Last 7 Days)Published
3.6.00
3.5.00
3.3.00
3.2.00
3.1.00
3.0.00
2.9.00
2.8.00
2.7.00
2.6.00
2.5.20
2.5.11
2.5.00
2.4.50
2.4.40
2.4.30
2.4.20
2.4.10
2.4.00
2.3.90
2.3.81
2.3.70
2.3.60
2.3.50
2.3.40
2.3.30
2.3.20
2.3.00
2.2.00
2.1.90
2.1.80
2.1.70
2.1.60
2.1.50
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.90
2.0.80
2.0.70
2.0.60
2.0.40
2.0.30
2.0.20
2.0.10
2.0.00
1.7.01
1.6.00
1.5.00
1.4.00
1.3.00
1.2.00
1.1.01
1.0.00

Package Sidebar

Install

npm i react-native-letote-sensors

Weekly Downloads

4

Version

3.6.0

License

none

Unpacked Size

484 kB

Total Files

48

Last publish

Collaborators

  • blakefangqi