Name: react-native-spatialconnect
Owner: Boundless
Description: null
Created: 2017-02-13 15:45:13.0
Updated: 2017-08-16 15:34:32.0
Pushed: 2018-03-06 01:34:19.0
Homepage: null
Size: 57
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
react-native-spatialconnect is Javascript library used to integrate SpatialConnect with your React Native applications.
For iOS, you need to have Carthage and Xcode installed on your system.
From the root directory of your React Native app, you can install by running:
install react-native-spatialconnect --save
Note: this may take a few minutes to download and compile all the dependencies.
RNSpatialConnect.xcodeproj
located in <your-project>/node_modules/react-native-spatialconnect/ios
to the Libraries
folder of your project in Xcode.General
settings tab of your app under Linked Frameworks and Libraries
, add libRNSpatialConnect.a
.Build Settings
/Search Paths
/Framework Search Paths
add path: $(SRCROOT)/../node_modules/react-native-spatialconnect/ios/Carthage/Build/iOS
for Any Architecture | Any SDK for Debug and ReleaseBuild Settings
/Build Options
/Always Embed Swift Standard Libraries
set to Yes
.Build Phases
click on top left plus (+) button and add New Run Script Phase
./usr/local/bin/carthage copy-frameworks
$(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
settings.gradle
located in <your-project>/android
folder.include ':react-native-spatialconnect'
project(':react-native-spatialconnect').projectDir = new File(rootProject.projectDir,'../node_modules/react-native-spatialconnect/android')
build.gradle
located in <your-project>/android/app
folder.compile project(':react-native-spatialconnect')