Example app using Roux SDK with React Native bindings
PLEASE NOTE - DO NOT BUILD FOR A SIMULATOR - SCANDY CORE IS ONLY PACKAGED TO BE RUN ON DEVICE
This react-native-roux-sdk is built to be used with ScandyCore.framework
v0.7.2.
We are still working on version linking this React Native package and the Roux SDK framework.
To run this example, you will need to generate a license through the Roux Portal. If you have not already, sign up as a developer to gain access to the developer dashboard. Create a new project and click the 'Download License' button.
Rename the license to ScandyCoreLicense.txt
and move into ios/ScandyCoreLicense/
. Its path will be ios/ScandyCoreLicense/ScandyCoreLicense.txt
Open ios/RouxSdkExample.xcworkspace
in Xcode.
Select the RouxSdkExample
target and ensure ScandyCoreLicense.txt
is in the Build Phases
-> Copy Bundle Resources
.
If you haven't already, download the SDK (button can be found in the top navigation bar of the Roux Portal). Extract the ScandyCore.zip
file and move ScandyCore.framework
into ios/Frameworks/
.
In Xccode, select the RouxSdkExample
target and ensure ScandyCore.framework
is in the General
-> Frameworks, Libraries and Embedded Content
.
Connect a device and build in Xcode.
yarn
Or if you prefer old school npm:
npm install
cd ios
pod install
cd ..
open ios/RouxSdkExample.xcworkspace
Then hit cmd
+r
to build and the run app.