New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-spatialconnect

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-spatialconnect

React Native library for SpatialConnect

latest
Source
npmnpm
Version
0.12.1
Version published
Maintainers
1
Created
Source

react-native-spatialconnect

react-native-spatialconnect is Javascript library used to integrate SpatialConnect with your React Native applications.

Prerequisites

For iOS, you need to have Carthage and Xcode installed on your system.

Configuration & Installation

From the root directory of your React Native app, you can install by running:

npm install react-native-spatialconnect --save

Note: this may take a few minutes to download and compile all the dependencies.

iOS:

  • Open your React Native iOS project in Xcode.
  • Drag RNSpatialConnect.xcodeproj located in .node_modules/react-native-spatialconnect/ios to the Libraries folder of your project in Xcode.
  • In the General settings tab of your app under Linked Frameworks and Libraries, add libRNSpatialConnect.a.
  • In Build Settings/Search Paths/Framework search paths add path: $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS.
  • In Build Settings/Build Options/Always Embed Swift Standard Libraries set to Yes.
  • In Build Phases click on top left plus (+) button and add New Run Script Phase.
    • Shell command: /usr/local/bin/carthage copy-frameworks
    • Input Files:
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/SpatialConnect.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/ReactiveCocoa.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/wkb_ios.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/JWT.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/libgpkgios.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/MQTTFramework.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/proj4.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/ZipZap.framework
      • $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS/CocoaLumberjack.framework
  • Minimal supported version of iOS is 8.0

Android:

  • Modify settings.gradle located in ./android folder.
    • Add the following:
      • include ':react-native-spatialconnect'
      • project(':react-native-spatialconnect').projectDir = new File(rootProject.projectDir,'../node_modules/react-native-spatialconnect/android')
  • Modify build.gradle located in ./android/app folder.
    • Add the following under the dependencies:
      • compile project(':react-native-spatialconnect')

FAQs

Package last updated on 30 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts