0.0.42 • Published 1 year ago

@apsisone/react-native-apsis-one v0.0.42

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 year ago

react-native-apsis-one

Getting started

$ npm install @apsisone/react-native-apsis-one --save

Mostly automatic installation

iOS

$ npx pod-install ios

Android

$ react-native link @apsisone/react-native-apsis-one

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modules@apsisone/react-native-apsis-one/ios and add ApsisOneRn.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libApsisOneRn.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.ApsisOneRnPackage; to the imports at the top of the file
  • Add new ApsisOneRnPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-apsis-one-rn'
    project(':react-native-apsis-one-rn').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-apsis-one-rn/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-apsis-one-rn')

Usage

import ApsisOneRn from '@apsisone/react-native-apsis-one';

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

You can view examples of plugin usage in example folder

To use example project:

iOS

$ cd examples
$ npm install @apsisone/react-native-apsis-one
$ npx pod-install ios
$ xed -b ios
0.0.42

1 year ago

0.0.41

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago