Skip to content

Rocket.Chat Cross-Platform Mobile Application via Cordova

License

Notifications You must be signed in to change notification settings

cnPFD/Rocket.Chat.Cordova

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • ImageMagick (with support for legacy utilities)

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

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

  • 1024 x 1024 icon-android.png (can use transparent background)
  • 1024 x 1024 icon-ios.png
  • 2208 x 2208 splash-android.png
  • 2208 x 2208 splash-ipad.png
  • 2208 x 2208 splash-iphone.png

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

About

Rocket.Chat Cross-Platform Mobile Application via Cordova

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 48.8%
  • CoffeeScript 38.4%
  • CSS 7.6%
  • HTML 4.3%
  • Shell 0.9%