0.1.0 • Published 3 years ago

fw-rn-share v0.1.0

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

fw-rn-share

Getting started

$ npm install fw-rn-share --save

Mostly automatic installation

$ react-native link fw-rn-share

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesfw-rn-share and add Share.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libShare.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/[...]/MainApplication.java
  • Add import com.reactlibrary.SharePackage; to the imports at the top of the file
  • Add new SharePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':fw-rn-share'
    project(':fw-rn-share').projectDir = new File(rootProject.projectDir, 	'../node_modules/fw-rn-share/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':fw-rn-share')

Usage

import Share from 'fw-rn-share';

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

3 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago