zhike-mobile-umeng-social-wrapper

2.1.10 • Public • Published

zhike-mobile-zhike-mobile-umeng-wrapper

Getting started

$ npm install zhike-mobile-zhike-mobile-umeng-wrapper --save

Mostly automatic installation

$ react-native link zhike-mobile-zhike-mobile-umeng-wrapper

Manual installation

iOS

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

Usage

import RNZhikeMobileUmengWrapper from 'zhike-mobile-zhike-mobile-umeng-wrapper';

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

Readme

Keywords

Package Sidebar

Install

npm i zhike-mobile-umeng-social-wrapper

Weekly Downloads

4

Version

2.1.10

License

none

Unpacked Size

1.59 MB

Total Files

56

Last publish

Collaborators

  • wansong