bugsworld85 / Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova

!!!Attention!!!

This application only connects with servers that were compiled with mobile platforms enabled

How to run

Requirements

  • npm
  • nodejs 0.12

Install dependencies

sudo npm install cordova coffee-script -g
npm install

Create Conf files

echo 'Bugsnag.apiKey = "YOUR-API-KEY-HERE";' > www/js/bugsnag_apikey.js
echo 'window.ANDROID_SENDER_ID = "YOUR-ANDROID-ID-HERE";' > www/shared/js/android_sender_id.js

Prepare - Install plataforms and plugins

cordova prepare

Run on emulator

cordova emulate ios

or

cordova emulate android

Run on device

cordova run ios --device

or

cordova run android --device

Troubleshooting

Some have had issues with a couple of dependencies not being installed by npm. Running: npm install ticons underscore may be necessary.

About

Rocket.Chat Cross-Platform Mobile Application via Cordova

License:MIT License


Languages

Language:JavaScript 54.0%Language:CoffeeScript 32.2%Language:CSS 9.9%Language:HTML 3.9%