Rocket.Chat Cross-Platform Mobile Application via Cordova
This application only connects with servers that were compiled with mobile platforms enabled
- npm
- nodejs 0.12
- ImageMagick (with support for legacy utilities)
sudo npm install cordova coffee-script -g
npm installecho '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
cordova preparecordova emulate iosor
cordova emulate androidcordova run ios --deviceor
cordova run android --deviceSome have had issues with a couple of dependencies not being installed by npm.
Running: npm install ticons underscore may be necessary.
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.
1024 x 1024icon-android.png (can use transparent background)1024 x 1024icon-ios.png2208 x 2208splash-android.png2208 x 2208splash-ipad.png2208 x 2208splash-iphone.png
Examples https://github.com/RocketChat/Rocket.Chat.Cordova/tree/develop/assets