4.0.0 • Published 4 years ago

react-native-lotame v4.0.0

Weekly downloads
45
License
MIT
Repository
github
Last release
4 years ago

react-native-lotame

NOTE for iOS If being added to an Objective c project. After installation. Add an empty swift file and bridging header file (Xcode should suggest adding it).

Getting started

$ npm install react-native-lotame --save or $ yarn add react-native-lotame

Mostly automatic installation

$ react-native link react-native-lotame (not needed for react native >= 0.6)

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

Usage

import RNLotame from "react-native-lotame";

// TODO: What to do with the module?
RNLotame;
4.0.0

4 years ago

3.4.1

4 years ago

3.4.0

4 years ago

3.3.1

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago