0.0.15 • Published 2 years ago

react-native-ww-plugin-sdk v0.0.15

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

react-native-ww-plugin-sdk

Getting started

$ npm install react-native-ww-plugin-sdk --save

Mostly automatic installation

$ react-native link react-native-ww-plugin-sdk

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

Usage

import RNWwPluginSdk from 'react-native-ww-plugin-sdk';

// TODO: What to do with the module?
RNWwPluginSdk;
0.0.15

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago