1.3.3 • Published 3 years ago

react-native-hypersnapsdk v1.3.3

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

react-native-hypersnapsdk

Getting started

$ npm install react-native-hypersnapsdk --save

Mostly automatic installation

$ react-native link react-native-hypersnapsdk

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

Windows

Read it! :D

  1. In Visual Studio add the RNHypersnapsdk.sln in node_modules/react-native-hypersnapsdk/windows/RNHypersnapsdk.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Hypersnapsdk.RNHypersnapsdk; to the usings at the top of the file
  • Add new RNHypersnapsdkPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNHypersnapsdk from 'react-native-hypersnapsdk';

// TODO: What to do with the module?
RNHypersnapsdk;
1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago