react-native-chrome-hms

1.3.0 • Public • Published

react-native-chrome-hms

Getting started

$ npm install react-native-chrome-hms --save

Mostly automatic installation

$ react-native link react-native-chrome-hms

Manual installation

Android

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

Usage

import RNChromeHms from 'react-native-chrome-hms';

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

Readme

Keywords

Package Sidebar

Install

npm i react-native-chrome-hms

Weekly Downloads

15

Version

1.3.0

License

none

Unpacked Size

485 kB

Total Files

42

Last publish

Collaborators

  • mudasirsharif