1.0.28 • Published 6 years ago

react-native-cooey v1.0.28

Weekly downloads
44
License
-
Repository
-
Last release
6 years ago

react-native-cooey

Getting started

$ npm install react-native-cooey --save

Mostly automatic installation

$ react-native link react-native-cooey

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

##Addtional Steps

###iOS Drag the VoiceLibrary.framework from node_modules/react-native-cooey/ios and add it to the embbed-frameworks under Target settings. Add the VoiceLibrary.framework under link frameworks and libraries section under Target settings.

###Android Add the vstsGradleAccessToken=yourToken in gradle.properties.

Usage

import { VoiceBPMonitor, CooeyEvents} from 'react-native-cooey';
CooeyEvents is event emitter module where you can subscribe events like voice_bp_battery, voice_bp_connection, voice_bp_results etc.


// TODO: What to do with the module?
Adding Weighing scale support.
Adding Glucometer support.
1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago