RocketChat/Rocket.Chat.Cordova

Name: Rocket.Chat.Cordova

Owner: Rocket.Chat

Description: Rocket.Chat Cross-Platform Mobile Application via Cordova

Created: 2015-08-25 21:40:43.0

Updated: 2018-04-29 18:59:27.0

Pushed: 2018-04-18 10:10:15.0

Homepage: null

Size: 9051

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova

Important Notice

After the end of March (3/18) this application will be deprecated.

Please see our native mobile apps:

Both apps can be found in their respective app stores by searching for: Rocket.Chat+

!!!Attention!!!

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

How to run

Requirements Install dependencies
 npm install cordova coffee-script -g
install
Create Conf files
 'Bugsnag.apiKey = "YOUR-API-KEY-HERE";' > www/js/bugsnag_apikey.js
 'window.ANDROID_SENDER_ID = "YOUR-ANDROID-ID-HERE";' > www/shared/js/android_sender_id.js
Prepare - Install platforms and plugins
ova prepare
Run on emulator
ova emulate ios

or

ova emulate android
Run on device
ova run ios --device

or

ova 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.

I can't connect to my server instance

If you are running your server using the command meteor you should define the URL where the mobile application will try to connect meteor --mobile-server http://192.168.1.10:3000, replace http://192.168.1.10:3000 by your IP or domain.

This is necessary because the mobile application download all files to run locally and then start the connection with your server, as you are running as develop mode this is necessary.

Assets

Examples https://github.com/RocketChat/Rocket.Chat.Cordova/tree/develop/assets


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.