Rocket.Chat client in Kotlin for Android
Latest commit cb57e76 Sep 18, 2018
Permalink
Failed to load latest commit information.
.circleci Commit sha on version info, circleci support Aug 6, 2018
.github Improve a little bit our issue template Apr 19, 2018
app Merge branch 'develop' into fix-random-crash-emoji-keyboard Sep 18, 2018
config/quality Ruleset improvement Mar 13, 2017
core Add excludes to core module Jul 26, 2018
draw Taking care of not using Answers on FOSS version as well as only trac… Aug 20, 2018
emoji Merge branch 'develop' into fix-random-crash-emoji-keyboard Sep 18, 2018
gradle/wrapper Revert "Merge branch 'v3.0.0' into develop" Aug 29, 2018
player Add versions.minSdk Jun 27, 2018
suggestions Modularize all suggestions autocompletion code Sep 12, 2018
util Add the support for the Google Analytics For Firebase Aug 28, 2018
wear Update build.gradle Aug 2, 2018
.gitignore Merge branch 'develop-2.x' of https://github.com/RocketChat/Rocket.Ch… Jan 12, 2018
CODE_OF_CONDUCT.md Add information for contributers Nov 4, 2016
CODING_STYLE.md Fix typo. Jul 27, 2017
HISTORY.md Add information for contributers Nov 4, 2016
LICENSE Initial commit Dec 17, 2015
PLANNING.md Fixed some issues suggested from @aniketsingh03 Apr 8, 2018
README.md Update instruction on how to build this project. Jun 18, 2018
SECURITY.md Add information for contributers Nov 4, 2016
build.gradle Bump android gradle plugin to 3.2.0-rc03 and remove kotlin version fr… Sep 18, 2018
debug.keystore Farewell GCM May 25, 2018
dependencies.gradle Fixes for FCM registration. Sep 4, 2018
gradle.properties Force testOnly to false May 30, 2018
gradlew Initial commit and app architecture skeleton for 2.0 Oct 3, 2017
gradlew.bat Initial commit and app architecture skeleton for 2.0 Oct 3, 2017
my-release-key.keystore implement Foss build flavour Aug 5, 2018
settings.gradle Modularize all suggestions autocompletion code Sep 12, 2018

README.md

Rocket.Chat logo

Rocket.Chat Android native application

CircleCI Build Status Codacy Badge

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

  • You need to download the latest Android Studio Preview version since the stable IDE version does not support the JetPack that is beeing used on this application.
  • 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

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

Please report via GitHub issue :)

Coding Style

Please follow our coding style when contributing.