0.1.0 • Published 3 years ago

ll-arc-gis-map-view v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ll-arc-gis-map-view

Getting started

$ npm install ll-arc-gis-map-view --save

Mostly automatic installation

$ react-native link ll-arc-gis-map-view

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesll-arc-gis-map-view and add RNArcGisMapView.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNArcGisMapView.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.reactlibrary.RNArcGisMapViewPackage; to the imports at the top of the file
  • Add new RNArcGisMapViewPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':ll-arc-gis-map-view'
    project(':ll-arc-gis-map-view').projectDir = new File(rootProject.projectDir, 	'../node_modules/ll-arc-gis-map-view/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':ll-arc-gis-map-view')

Usage

import RNArcGisMapView from 'll-arc-gis-map-view';

// TODO: What to do with the module?
RNArcGisMapView;
0.1.0

3 years ago