Coder Social home page Coder Social logo

rocketchat / rocket.chat.android Goto Github PK

View Code? Open in Web Editor NEW
875.0 70.0 560.0 18.64 MB

Legacy mobile Rocket.Chat client in Kotlin for Android

Home Page: https://rocket.chat

License: MIT License

Kotlin 99.76% Shell 0.24%
chat rocket foss free kotlin rocketchat android

rocket.chat.android's Introduction

Rocket.Chat logo

IMPORTANT: PLEASE READ THIS FIRST

Rocket.Chat mobile is moving to React Native. Development on this repository by Rocket.Chat has now ceased. If your team is interested in taking over and maintaining this Android native client repository then please contact us.

Legacy Rocket.Chat Android native application

CircleCI Codacy Badge

Get it from the stores

Description

This repository contains all the code related to the Android native application of Rocket.Chat. To send new pull-requests, always use the branch develop as base and open an issue with the description of what you want/need to accomplish, if the issue wasn't created yet.

How to build

  • Make sure that you have the latest Gradle and the Android plugin versions installed. Go to File > Project Structure > Project and make sure that you have the latest versions installed. Refer this to see the compatible versions.
  • Kotlin is already configured in the project. To check, go to Tools > Kotlin > Configure Kotlin in project. A message saying kotlin is already configured in the project pops up. You can update kotlin to the latest version by going to Tools > Kotlin > Configure Kotlin updates and download the latest version of kotlin.

SDK Instructions

  • This version requires the Kotlin SDK for Rocket.Chat. Clone the Kotlin SDK in by running git clone https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK.git.
  • First, a build is required for the SDK, so that required jar files are generated. Make sure that the Android repository and the Kotlin SDK have the same immediate parent directory. Change the current directory to Rocket.Chat.Android/app and run the build-sdk.sh which will result in creating of the required jar file core*.jar and common*.jar in Rocket.Chat.Android/app/libs, by the following steps in your terminal window:
cd Rocket.Chat.Android/app
./build-sdk.sh

Note: You need to have Java 8 as default Java for the system (project won't build when using a Java 9+ version).

How to run

Command Line

  • Connect your physical device to your pc via USB or start an emulator. Run adb devices in terminal. You should see your device in the list of devices.
  • In order to build the debug apk, run ./gradlew assembleDebug. This would generate a debug apk which can be found under Rocket.Chat.Android/app/build/outputs/apk/debug folder with the name app-debug.apk.
  • In order to build and install the apk directly to the connected device, run ./gradlew installDebug.

Android Studio

  • After importing the project in Android Studio, go to Run > Run app and then select your device, or create a new virtual device by following the wizard.

Bug report & Feature request

Are you having a technical issue trying to compile the app, or setting up Push Notifications? Please use our Community Support channel for that: https://forums.rocket.chat/c/community-support. The issues are only supposed to be used for bugs, improvements, and features in the native Android application.

Coding Style

Please follow the official Kotlin coding conventions when contributing.

rocket.chat.android's People

Contributors

adizbek avatar aenongit avatar aniketsingh03 avatar arthurbdiniz avatar bizzbyster avatar cool-fire avatar dev-ritik avatar divyanshub024 avatar eliezer-of avatar ericrosenthal avatar filipedelimabrito avatar govinddixit avatar hfeky avatar kareemhamdy100 avatar laggedhero avatar leonardoaramaki avatar luciofm avatar luckcoolla avatar mariusvolkhart avatar matheusjardimb avatar noor-binte-amir avatar pancor avatar pitstopper avatar rafaelks avatar samrmur avatar shailesh351 avatar shubhsherl avatar sudipt1999 avatar tehpegasus avatar tunous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocket.chat.android's Issues

Opening the app causes audio ducking

When rocket chat is running, the volume of media playback is reduced. Once the app is killed, the media volume returns to normal.

Version 2.4.0

Disable acceleration 3D

My cellphone doesn't support acceleration 3D and the app closes soon after execution. Have some way to disable the animations that need acceleration 3D?

09-02 11:52:22.323 29796-30424/chat.rocket.android E/AndroidRuntime: FATAL EXCEPTION: RecordFBO GL render
Process: chat.rocket.android, PID: 29796
Theme: themes:{}
java.lang.RuntimeException: eglCreatePbufferSurface: EGL error: 0x3005
at io.repro.android.grafika.gles.b.a(Unknown Source)
at io.repro.android.grafika.gles.b.a(Unknown Source)
at io.repro.android.grafika.gles.c.a(Unknown Source)
at io.repro.android.grafika.gles.g.(Unknown Source)
at io.repro.android.p$b.e(Unknown Source)
at io.repro.android.p$b.run(Unknown Source)`

Cannot Build

Your Rocket.Chat.Android version: (make sure you are running the latest)

I get the following error message when I try to build.

I'm coming from cordova, and I'm a bit new to this:

Rocket.Chat.Android/realm-helpers/src/main/java/chat/rocket/android/realm_adapter/RealmModelViewholder.java:7: error: class RealmModelViewHolder is public, should be declared in a file named RealmModelViewHolder.java
public abstract class RealmModelViewHolder extends RecyclerView.ViewHolder {
^
1 error
:realm-helpers:compileReleaseJavaWithJavac FAILED

Add information for contributers

CODE_OF_CONDUCT.md
HISTORY.md
SECURITY.md
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md

Also add code format validation, and use CI to enforce it.

File Upload from AndroidLily

Hi,

Was trying to the file upload from android lily app, getting error:
Exception while invoking method 'ufsWrite' Error: Match error: Expected number, got undefined at check (packages/check/match.js:33:1) at [object Object].Meteor.methods.ufsWrite (packages/jalik_ufs/ufs-methods.js:127:1) at [object Object].methodsMap.(anonymous function) (server/lib/debug.js:17:26) at maybeAuditArgumentChecks (livedata_server.js:1698:12) at livedata_server.js:708:19 at [object Object]..extend.withValue (packages/meteor/dynamics_nodejs.js:56:1) at livedata_server.js:706:40 at [object Object]..extend.withValue (packages/meteor/dynamics_nodejs.js:56:1) at livedata_server.js:704:46 at tryCallTwo (/home/ubuntu/Rocket.Chat/programs/server/npm/promise/node_modules/meteor-promise/node_modules/promise/lib/core.js:45:5)

File Upload using: GridFS
Its working fine from web.

What could be possible issue.

Regards,

[REQUEST] Upload the app to F-DROID

Hello,

As the licence (MIT) is compatible with the FOSS catalog "F-DROID", is it possible to get the app there ?
I am a Rocket.Chat user on my desktop browser, but on my mobile browser it is not easy to use. Moreover, I have uninstalled Google Play Store, and thus won't get the app on it.

Thanks in advance

xmpp support

You have in mind to add xmpp support for users login with one jabber account gain one xmpp server

Problem logging in when using non-standard SSL port

Your Rocket.Chat.Android version: Latest from Play Store

Hi,

is it possible that the Android app is not able to connect if SSL is configured on a port other than 443? I can connect using the browser but the app gives something similar to "unable to connect. abort abort" when using e.g. https://URL:444

Thx

This is a sample bug. Reported by Instabug.

Title: This is a sample bug. Reported by Instabug.

Number: 3

URL: https://instabug.com/applications/instabug-ios/beta/bugs/3

Status: New

Email: [email protected]

Reported At: 2014-05-28 00:00:00 UTC

Location: San Francisco, USA

Device: iPhone 4, iOS 7.0

Memory: 3084.0/4085.0 MB

Storage: 25.754/31.201 GB

Connectivity: Carrier: Verizon, WiFi: Home WiFi

Battery: 80, Unplugged

App Version: 1.3 (1.3)

Duration: 8

User Data: You can attach extra data items with each bug reported.

 userid = 721899; 
 username = jack.edward;

Console Log:

This is your app log at the time of reporting the bug. 

 2014-03-25 16:19:00.111 AppDemo[69166:60b] ViewLoaded 
 2014-03-25 16:19:00.113 AppDemo[69166:60b] Request completed 
 2014-03-25 16:19:00.123 AppDemo[69166:60b] User isnt logged in 
 2014-03-25 16:19:00.213 AppDemo[69166:60b] Login view

Instabug Log:


User Steps:

These are the steps that the user did before sending the bug, all the user touches and interactions are recorded here. 

 2014-03-25 16:19:00.010 - Application: DidBecomeActive 
 2014-03-25 16:19:00.213 - Top View: LoginViewController 
 2014-03-25 16:19:40.817 - Touch: _usernameTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:42.128 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:48.828 - Touch: _passwordTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:49.023 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:50.011 - Touch: _loginButton (UIButton) in LoginViewController 
 2014-03-25 16:19:50.111 - Top View: HomeViewController 
 2014-03-25 16:20:19.322 - Touch: _friendsListButton (UIButton) in HomeViewController 
 2014-03-25 16:20:20.725 - Top View: FriendsListViewController 
 2014-03-25 16:21:10.510 - Shake in: FriendsListViewController

Current View: FriendsListViewController

image attachment

Upload of image gets stuck at 100% and can only be cancelled

Your Rocket.Chat.Android version: 0.45.0 (make sure you are running the latest => I'm pretty sure it's the case but I don't know if the version is from the app, or from the server, or both - it's definitely the latest from the app store and I haven't refused any proposed upgrade OTA).

As the subject says: try to upload an image, either taken from camera or just from an already existing file, and the image will upload up to 100% and stay stuck there. There is a green bar with the name of the file + 100% + a cancel button, and the only thing I can do is to cancel. Same file, same server, same WLAN, but with the desktop app, and it works flawlessly.

Gradle build error

Hi everyone,
I got this error with gradle build.
Error:Could not GET 'http://cdn.repro.io/android/chat/rocket/android-ddp/0.0.1/android-ddp-0.0.1.pom'. Received status code 403 from server: Forbidden
Do you have any suggestion? Thank you so much.

[v1.0-beta] listen stream-notify-all, stream-notify-user

stream-notify-all

  • roles-change
  • updateEmojiCustom
  • deleteEmojiCustom
  • public-settings-changed

stream-notify-user

  • userID/otr
  • userID/webrtc
  • userID/notification #72
  • userID/rooms-changed
  • userID/subscriptions-changed

stream-notify-room

  • roomID/deleteMessage
  • roomID/typing
  • roomID/webrtc

stream-room-messages

  • roomID

[v1.0-beta] fix error infinite looping

12-08 21:28:59.486 V/ServerConfig( 4497): โ‡ข logConnectionError(serverConfigId="55130f67-1370-4344-95f3-53d2dc33e0c4", exception=java.lang.Exception: [16843169] Bad Gateway) [Thread:"OkHttp https://demo.rocket.chat/..."]
12-08 21:28:59.510 V/ServerConfig( 4497): โ‡  logConnectionError [24ms]
12-08 21:28:59.521 V/RocketChatWebSocketThread( 4497): โ‡ข keepalive() [Thread:"pool-4-thread-127"]
12-08 21:28:59.524 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.524 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.525 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.525 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.526 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.526 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.526 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.526 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.526 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.527 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.527 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.527 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.527 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.528 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.529 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.529 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.529 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.529 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.529 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.530 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.530 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.530 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.530 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.530 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.531 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.531 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.531 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.531 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.531 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.532 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.533 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.534 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.534 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.534 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.534 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.534 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.535 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.535 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.535 V/RocketChatWebSocketThread( 4497): โ‡  keepalive [13ms]
12-08 21:28:59.535 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.535 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.536 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.536 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.536 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.536 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.537 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.537 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.537 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.537 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.537 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.538 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.539 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.540 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.540 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.540 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.540 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.541 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.541 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.541 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.542 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.542 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.542 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.542 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.543 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.543 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.543 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.543 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.544 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.544 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.544 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.545 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.545 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.545 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.545 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.545 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.546 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.546 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.546 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.546 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.546 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.547 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.547 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.547 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.547 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.547 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.548 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.549 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.550 D/RocketChatWebSocketThread( 4497): thread 8533: quit()
12-08 21:28:59.551 V/RocketChatWebSocketThread( 4497): โ‡ข unregisterListeners() [Thread:"RC_thread_55130f67-1370-4344-95f3-53d2dc33e0c4"]
12-08 21:28:59.551 V/RocketChatWebSocketThread( 4497): โ‡  unregisterListeners [0ms]
12-08 21:28:59.565 V/RocketChatWebSocketThread( 4497): โ‡ข getStarted(appContext=chat.rocket.android.RocketChatApplication@1b2a672, config=ServerConfig = [{serverConfigId:55130f67-1370-4344-95f3-53d2dc33e0c4},{hostname:demo.rocket.chat},{state:1},{session:zkQje6EYpQ664sFuC},{error:[16843169] Bad Gateway}])
12-08 21:28:59.565 V/RocketChatWebSocketThread( 4497): โ‡  getStarted [0ms] = bolts.Task@9070009
12-08 21:28:59.568 V/RocketChatWebSocketThread( 4497): โ‡ข connect() [Thread:"RC_thread_55130f67-1370-4344-95f3-53d2dc33e0c4"]
12-08 21:28:59.574 V/RocketChatWebSocketThread( 4497): โ‡  connect [5ms] = bolts.Task@501211a
12-08 21:29:00.723 V/ServerConfig( 4497): โ‡ข logConnectionError(serverConfigId="55130f67-1370-4344-95f3-53d2dc33e0c4", exception=java.lang.Exception: [16843169] Bad Gateway) [Thread:"OkHttp https://demo.rocket.chat/..."]
12-08 21:29:00.751 V/ServerConfig( 4497): โ‡  logConnectionError [27ms]
12-08 21:29:00.764 V/RocketChatWebSocketThread( 4497): โ‡ข keepalive() [Thread:"pool-4-thread-128"]
12-08 21:29:00.770 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.770 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.771 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.771 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.772 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.773 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.773 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.773 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.774 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.774 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.774 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.774 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.775 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.775 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.775 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.775 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.776 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.776 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.776 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.776 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.777 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.777 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.777 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.777 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.777 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.778 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.778 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.778 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.778 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.778 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.779 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.779 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.779 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.779 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.780 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.780 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.780 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.780 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.780 V/RocketChatWebSocketThread( 4497): โ‡  keepalive [16ms]
12-08 21:29:00.781 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.781 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.781 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.781 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.781 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.782 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.782 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.782 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.782 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.785 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.785 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.785 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.785 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.786 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.786 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.786 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.787 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.787 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.787 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.788 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.788 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.788 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.788 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.789 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.790 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.790 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.790 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.790 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.790 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.791 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.792 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.792 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.792 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.792 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.792 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.793 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.793 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.793 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.793 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.794 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.794 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.794 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.794 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.795 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.795 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.795 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.795 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.796 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.797 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.797 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.797 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.797 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.797 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.798 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.798 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.798 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.798 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.798 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.799 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.799 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.799 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.799 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.799 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.800 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.801 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.802 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.802 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.802 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.802 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.803 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.803 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.803 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.803 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.804 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.804 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.804 D/RocketChatWebSocketThread( 4497): thread 8535: quit()
12-08 21:29:00.804 V/RocketChatWebSocketThread( 4497): โ‡ข unregisterListeners() [Thread:"RC_thread_55130f67-1370-4344-95f3-53d2dc33e0c4"]
12-08 21:29:00.805 V/RocketChatWebSocketThread( 4497): โ‡  unregisterListeners [0ms]
12-08 21:29:00.806 V/RocketChatWebSocketThread( 4497): โ‡ข getStarted(appContext=chat.rocket.android.RocketChatApplication@1b2a672, config=ServerConfig = [{serverConfigId:55130f67-1370-4344-95f3-53d2dc33e0c4},{hostname:demo.rocket.chat},{state:1},{session:zkQje6EYpQ664sFuC},{error:[16843169] Bad Gateway}])
12-08 21:29:00.807 V/RocketChatWebSocketThread( 4497): โ‡  getStarted [0ms] = bolts.Task@10b3a6c
12-08 21:29:00.810 V/RocketChatWebSocketThread( 4497): โ‡ข connect() [Thread:"RC_thread_55130f67-1370-4344-95f3-53d2dc33e0c4"]
12-08 21:29:00.817 V/RocketChatWebSocketThread( 4497): โ‡  connect [7ms] = bolts.Task@7b1e2b1

Notification icon is a big blank square

Smartphone model : Oneplus one
Android version : 5.1.1

When receiving a new notification from Rocket.chat (@my_nick or pm), the icon for the notification is a blank square and is barely recognizable.

Thank you!

Sidebar glitch

The icons on the right sidebar randomly disappear. If I kill and restart the app or switch rooms a few times the icons are come back. Issue appear to happen randomly. Using latest release from Play Store on a Sense 7 ROM, Android 5.0.2.
screenshot_2016-01-06-17-43-24

+ buttons (channels and direct messages) not worky

Hello Devs.

Just compiled from git and installed the app successfully. Log in works, also opening channels. But i can't add channels via the + button. The same goes for direct messages. Is this supposed to work currently?

thanks and cheers
t.

A problem occurred evaluating project ':app'.

I'm having an issue trying to build this app.
Using Ubuntu 15.10 x64 with oracle java 8
I haven't changed any code other than commenting out
//Repro.setup(BuildConfig.REPRO_APP_TOKEN);

mrplow@mrplow-desktop:~/Rocket.Chat.Android.Lily$ ./gradlew assembleDebug --stacktrace

FAILURE: Build failed with an exception.

* Where:
Build file '/home/mrplow/Rocket.Chat.Android.Lily/app/build.gradle' line: 37

* What went wrong:
A problem occurred evaluating project ':app'.
> Build Config field cannot have a null parameter

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$1.run(DefaultScriptPluginFactory.java:148)
        at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:153)
        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:499)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:86)
        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
        at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: java.lang.NullPointerException: Build Config field cannot have a null parameter
        at com.android.builder.internal.ClassFieldImpl.<init>(ClassFieldImpl.java:54)
        at com.android.builder.internal.ClassFieldImpl.<init>(ClassFieldImpl.java:47)
        at com.android.builder.core.AndroidBuilder.createClassField(AndroidBuilder.java:575)
        at com.android.build.gradle.internal.dsl.ProductFlavor.buildConfigField(ProductFlavor.java:234)
        at build_ey24t49ysk7ir88ldh2snx8u9$_run_closure1$_closure3.doCall(/home/mrplow/Rocket.Chat.Android.Lily/app/build.gradle:37)
        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
        at com.android.build.gradle.BaseExtension.defaultConfig(BaseExtension.java:412)
        at com.android.build.gradle.AppExtension_Decorated.defaultConfig(Unknown Source)
        at build_ey24t49ysk7ir88ldh2snx8u9$_run_closure1.doCall(/home/mrplow/Rocket.Chat.Android.Lily/app/build.gradle:27)
        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
        at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)
        at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)
        at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:207)
        at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:150)
        at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
        at build_ey24t49ysk7ir88ldh2snx8u9.run(/home/mrplow/Rocket.Chat.Android.Lily/app/build.gradle:17)
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
        ... 50 more


BUILD FAILED

Total time: 2.05 secs

Support handwriting input

On phones and tablets that have this capability. Can bring new group of mobile users to Rocket.Chat.

package org.nibor.autolink does not exist

If I do 'gradlew assembleDebug', I get compilation error.
Rocket.Chat.Android.Lily\app\src\main\java\chat\rocket\android\view\Linkify.java:16: error: package org.nibor.autolink does not exist
import org.nibor.autolink.LinkSpan;

Adding dependencies in app/build.gradle fix the problem.
compile 'org.nibor.autolink:autolink:0.5.0'

But I think I am doing something wrong. autolink submudule did not build during 'gradlew assembleDebug'. Is there any build step I am missing? I followed all steps mentioned in README,md.

Unable to send message

Just after your latest commit;
4fd15e9
I am able to retrieve rooms data and its populating pretty well on side panel now. Chat history is also loading alright in chat window but when i send a new message to any room; private/public channel or direct message then my message is not sent and I get the following error in the debug log;

{"msg":"method","method":"sendMessage","params":[{"_id":"message-doc147756814805418","rid":"JPGi9me9T9ojQJviA","msg":"hello"}],"id":"message147756814805419"}

{"msg":"updated","methods":["message147756814805419"]}

{"msg":"result","id":"message147756814805419","error":{"error":"error-invalid-room","reason":"Invalid room","details":{"method":"canAccessRoom"},"message":"Invalid room [error-invalid-room]","errorType":"Meteor.Error"}}

`
Can you please explain why am I getting this error and why my messages are not going?

I am connecting to my custom server but this issue remains even on demo.rocket.chat. Any other client works fine on my custom server though.

App does not login

Your Rocket.Chat.Android version: (make sure you are running the latest)

When I run the application and try to login (after pushing the arrow button) it does nothing. It doesn't log in at all. My installation of rocket.chat works just fine in Cordova or on the Web.

Share a file via Rocket.Chat app doesn't work

Your Rocket.Chat.Android version: 0.45.0 (make sure you are running the latest => latest from market + all upgrades OTA accepted)

If I share a file in Android, I can select Rocket.Chat as app for sharing, and the app's window appears but then nothing happens. I would expect that I can select a channel and the shared file is then uploaded.

This is a sample bug. Reported by Instabug.

Title: This is a sample bug. Reported by Instabug.

Number: 3

URL: https://instabug.com/applications/instabug-ios/beta/bugs/3

Status: New

Email: [email protected]

Reported At: 2014-05-28 00:00:00 UTC

Location: San Francisco, USA

Device: iPhone 4, iOS 7.0

Memory: 3084.0/4085.0 MB

Storage: 25.754/31.201 GB

Connectivity: Carrier: Verizon, WiFi: Home WiFi

Battery: 80, Unplugged

App Version: 1.3 (1.3)

Duration: 8

User Data: You can attach extra data items with each bug reported.

 userid = 721899; 
 username = jack.edward;

Console Log:

This is your app log at the time of reporting the bug. 

 2014-03-25 16:19:00.111 AppDemo[69166:60b] ViewLoaded 
 2014-03-25 16:19:00.113 AppDemo[69166:60b] Request completed 
 2014-03-25 16:19:00.123 AppDemo[69166:60b] User isnt logged in 
 2014-03-25 16:19:00.213 AppDemo[69166:60b] Login view

Instabug Log:


User Steps:

These are the steps that the user did before sending the bug, all the user touches and interactions are recorded here. 

 2014-03-25 16:19:00.010 - Application: DidBecomeActive 
 2014-03-25 16:19:00.213 - Top View: LoginViewController 
 2014-03-25 16:19:40.817 - Touch: _usernameTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:42.128 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:48.828 - Touch: _passwordTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:49.023 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:50.011 - Touch: _loginButton (UIButton) in LoginViewController 
 2014-03-25 16:19:50.111 - Top View: HomeViewController 
 2014-03-25 16:20:19.322 - Touch: _friendsListButton (UIButton) in HomeViewController 
 2014-03-25 16:20:20.725 - Top View: FriendsListViewController 
 2014-03-25 16:21:10.510 - Shake in: FriendsListViewController

Current View: FriendsListViewController

image attachment

[v1.0-beta] render message attachment

render such message:

        {
            "_id": "A2XbEfnWiDbPg5peg",
            "msg": "### Private Rocket.Chat server in 2 minutes, on a $30 Raspberry Pi\nFrom Ubuntu 16.04 classic for [Pi2](https://www.element14.com/community/community/raspberry-pi/raspberrypi2) command,  issue command `snap install rocketchat-server`. Your server will be up and running at `http://server-ip:3000` in 2 minutes. See [more info](https://github.com/RocketChat/Rocket.Chat.RaspberryPi).",
            "rid": "GENERAL",
            "ts": {
                "$date": 1480237697832
            },
            "u": {
                "_id": "t49agvvB2iWzy28Hr",
                "username": "singli"
            },
            "urls": [{
                "url": "https://www.element14.com/community/community/raspberry-pi/raspberrypi2",
                "meta": {
                    "pageTitle": "New Raspberry Pi 2 Model B 1GB | element14 Community",
                    "ogUrl": "https://www.element14.com/community/community/raspberry-pi/raspberrypi2",
                    "title": "New Raspberry Pi 2 Model B 1GB",
                    "ogTitle": "New Raspberry Pi 2 Model B 1GB",
                    "ogImage": "https://www.element14.com/community/community/image/2583/2.png",
                    "description": "Visit the 'Community: Raspberry Pi 2' group on element14.com.  The Raspberry Pi 2 Model B is the latest single board computer to be released by the Raspberry Pi Foundation. It is the highest spec variant of the Raspberry Pi, perfect for learning, coding, and creating your own projects.",
                    "ogDescription": "Visit the 'Community: Raspberry Pi 2' group on element14.com.  The Raspberry Pi 2 Model B is the latest single board computer to be released by the Raspberry Pi Foundation. It is the highest spec variant of the Raspberry Pi, perfect for learning, coding, and creating your own projects.",
                    "fbAdmins": "100008324259487"
                },
                "headers": {
                    "contentType": "text/html;charset=UTF-8",
                    "contentLength": "40722"
                },
                "parsedUrl": {
                    "host": "www.element14.com",
                    "hash": null,
                    "pathname": "/community/community/raspberry-pi/raspberrypi2",
                    "protocol": "https:",
                    "port": null,
                    "query": null,
                    "search": null,
                    "hostname": "www.element14.com"
                }
            }, {
                "url": "http://server-ip:3000"
            }, {
                "url": "https://github.com/RocketChat/Rocket.Chat.RaspberryPi",
                "meta": {
                    "pageTitle": "GitHub - RocketChat/Rocket.Chat.RaspberryPi: Run a private social network on your Pi for iPhone and Android devices !",
                    "fbAppId": "1401488693436528",
                    "description": "Rocket.Chat.RaspberryPi - Run a private social network on your Pi for iPhone and Android devices !",
                    "twitterImageSrc": "https://avatars1.githubusercontent.com/u/12508788?v=3&s=400",
                    "twitterSite": "@github",
                    "twitterCard": "summary",
                    "twitterTitle": "RocketChat/Rocket.Chat.RaspberryPi",
                    "twitterDescription": "Rocket.Chat.RaspberryPi - Run a private social network on your Pi for iPhone and Android devices !",
                    "ogImage": "https://avatars1.githubusercontent.com/u/12508788?v=3&s=400",
                    "ogSiteName": "GitHub",
                    "ogType": "object",
                    "ogTitle": "RocketChat/Rocket.Chat.RaspberryPi",
                    "ogUrl": "https://github.com/RocketChat/Rocket.Chat.RaspberryPi",
                    "ogDescription": "Rocket.Chat.RaspberryPi - Run a private social network on your Pi for iPhone and Android devices !"
                },
                "headers": {
                    "contentType": "text/html; charset=utf-8"
                },
                "parsedUrl": {
                    "host": "github.com",
                    "hash": null,
                    "pathname": "/RocketChat/Rocket.Chat.RaspberryPi",
                    "protocol": "https:",
                    "port": null,
                    "query": null,
                    "search": null,
                    "hostname": "github.com"
                }
            }],
            "_updatedAt": {
                "$date": 1480237711083
            }
        }

as

image

Add Detailed Readme file for the project

As a new developer who is willing to contribute to the project, it would of great help if we have a readme which would guide them on how to bootstrap the project on their local machine and all the information that would help them with the app development (like dependencies, libraries need to be pulled in, compatibility, setting up the development environment etc).

Google authentication

I see in your planning docs and initial support will include Twitter, github and email. But in the future other services will be considered based in feedback.

I put forward Google auth since every single Android user already has a Google account.

Replace SQLite to Realm

Currently Lily uses SQLite, ContentProvider, CursorAdapter, ...
It would be smarter to use Realm, RealmBasedRecyclerViewAdapter for dealing with relational models (such as User <- N..N -> Room relation)

whenever i try to connect it gives websocket: failed to connect.

websocket: failed to connect.
java.lang.Exception: [Failure]
at jp.co.crowdworks.android_ddp.ddp.DDPClientImpl.lambda$addErrorCallback$34(DDPClientImpl.java:332)
at jp.co.crowdworks.android_ddp.ddp.DDPClientImpl.access$lambda$39(DDPClientImpl.java)
at jp.co.crowdworks.android_ddp.ddp.DDPClientImpl$$Lambda$42.call(Unknown Source)
at rx.Observable$27.onNext(Observable.java:8001)
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
at rx.internal.operators.OperatorFilter$1.onNext(OperatorFilter.java:54)
at rx.observers.Subscribers$5.onNext(Subscribers.java:234)
at rx.internal.operators.OperatorPublish$PublishSubscriber.dispatch(OperatorPublish.java:560)
at rx.internal.operators.OperatorPublish$PublishSubscriber.onNext(OperatorPublish.java:258)
at jp.co.crowdworks.android_ddp.rx.RxWebSocket$1$1.onFailure(RxWebSocket.java:44)
at com.squareup.okhttp.ws.WebSocketCall$1.onFailure(WebSocketCall.java:107)
at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:176)
at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

build instructions

can you provide simple build instructions to dumb people like me successfully build the app? ๐Ÿ˜„

I've tried import to fresh android studio installation with no success.. After some tries I'm getting this:
image

I have no idea if I'm in the correct path btw ๐Ÿ˜†

[discussion] realm-recyclerview or realm-android-adapters

There are 2 major implementations for mapping the realm query results into RecyclerView.

realm-recyclerview

  • uses DiffUtils for updating realm results, which may be better for performance.
  • have extra features such as "load more", "empty state", "header", and so on, and they are not so richly customizable...

realm-android-adapters

  • is officially maintained by the member in realm.io

Currently I selected realm-android-adapters just because it is official,
but which is better for Rocket.Chat.Android?

[v1.0-beta] fix github logon 2fa problem

Your Rocket.Chat.Android version: (make sure you are running the latest)

When 2fa is enabled on github account, cannot logon due to:

  1. ui requests, after receiving userid and password, the 2nd factor pin code from phone
  2. when you switch away from RC to get code from authy, the ui resets to the userid + password entry

compile error with "Could not find com.google.firebase:firebase-core:10.0.0"

Hi devs.

Just tried to compile the rocket.chat app. Currently fails with:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not find com.google.firebase:firebase-core:10.0.0.
     Required by:
         Rocket.Chat.Android:app:unspecified
   > Could not find com.google.firebase:firebase-crash:10.0.0.
     Required by:
         Rocket.Chat.Android:app:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 25.059 secs

any ideas how to fix this?

Attachment is not rendered

Previously attachments were in urls field.

Now it is stored in attachments field.
RocketChat/Rocket.Chat@441ae0b

Sample message with a picture

{"msg":"result","id":"load-message145104531609419","result":{"messages":[{"_id":"nvEjt8yazc3oRJrvG","rid":"kZKjb9etwp5a6K5tt","msg":"","file":{"_id":"KL8iYtaFoSnrYEgQZ"},"groupable":false,"attachments":[{"title":"File Uploaded: twitterYI01.jpg","title_link":"/ufs/rocketchat_uploads/KL8iYtaFoSnrYEgQZ/twitterYI01.jpg","image_url":"/ufs/rocketchat_uploads/KL8iYtaFoSnrYEgQZ/twitterYI01.jpg","image_type":"image/jpeg","image_size":6105}],"ts":{"$date":1451045293172},"u":{"_id":"wffqrSXNojgMnuz8v","username":"YusukeIwaki"}}],"unreadNotLoaded":0}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.