Skip to content

ReachFive/reachfive-sandbox-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReachFive Cordova Sandbox

The Codova sandbox allows to test the ReachFive Core SDK on a Cordova application.

Install the sandbox

Clone this repository from GitHub:

git clone git@github.com:ReachFive/reachfive-sandbox-cordova.git

Switch to the sandbox directory:

cd reachfive-sandbox-cordova

Install the dependencies:

npm install

Configure the account

The account's configuration can be updated in the index.js file:

script.src = 'https://local-raas.og4.me/js/v1/identity.js?client_id=sg48CdAYohRPeRWZ9j1H';

Replace local-raas.og4.me by your account's domain and sg48CdAYohRPeRWZ9j1H by your client ID.

Run the application

In the commands below, replace <platform> by the desired platform's name: browser, ios or android.

Add the platform to the project:

./cordova platform add <platform>

Build the sandbox for the platform:

./cordova build <platform>

List the available targets on the platform:

./cordova run <platform> --list

Run a specific target of emulator (here an exemple with iOS):

./cordova run ios --target="iPhone-8, 13.2"

License

MIT © ReachFive

About

Cordova Sandbox for ReachFive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published