Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit 99f75dd

Browse files
authored
Merge pull request #1955 from RocketChat/beta
[RELEASE] Merge BETA into MASTER
2 parents 1f918d2 + 0765513 commit 99f75dd

File tree

189 files changed

+5733
-2385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+5733
-2385
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
5+
---
6+
7+
## Describe the bug
8+
<!-- A clear and concise description of what the bug is. -->
9+
10+
## To Reproduce
11+
<!--Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error -->
16+
17+
## Expected behavior
18+
<!-- A clear and concise description of what you expected to happen. -->
19+
20+
## Logs
21+
<!-- Please add logs in case of any crash or applicable error. -->
22+
23+
## Screenshots
24+
<!-- If applicable, add screenshots to help explain your problem. -->
25+
26+
## Devices and Versions
27+
28+
<!-- Version can be found by opening the side menu and then clicking on "Settings" and then "About" -->
29+
Your Rocket.Chat.Android version: (e.g. 2.1.0)
30+
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)
31+
32+
<!-- Found a bug? List all devices that reproduced it and all that doesn't -->
33+
Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")
34+
35+
## Additional context
36+
<!-- Add any other context about the problem here. -->
37+

.github/ISSUE_TEMPLATE/chore.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Chore
3+
about: Issues related to docs, workflow, dependency and others
4+
5+
---
6+
7+
## Describe the chore
8+
<!-- A clear and concise description of what you want to do. -->
9+
10+
## Devices and Versions
11+
12+
<!-- Version can be found by opening the side menu and then clicking on "Settings" and then "About" -->
13+
Your Rocket.Chat.Android version: (e.g. 2.1.0)
14+
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)
15+
16+
<!-- Found a bug? List all devices that reproduced it and all that doesn't -->
17+
Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
## Describe the feature you'd like
8+
<!-- A clear and concise description of what you want to happen. -->
9+
10+
## Devices and Versions
11+
12+
<!-- Version can be found by opening the side menu and then clicking on "Settings" and then "About" -->
13+
Your Rocket.Chat.Android version: (e.g. 2.1.0)
14+
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)
15+
16+
<!-- Found a bug? List all devices that reproduced it and all that doesn't -->
17+
Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")
18+
19+
## Screenshots
20+
<!-- Add screenshots to provide context or UI mockup. -->
21+
22+
## Additional context
23+
<!-- Add any other context about the problem here. -->
24+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
55
Closes #ISSUE_NUMBER
66

7-
<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
7+
#### Changes: [Add here what changes were made in this issue and if possible provide links.]
8+
9+
#### Screenshots or GIF for the change:

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,33 @@
22

33
# Rocket.Chat Android native application
44

5-
[![CircleCI](https://circleci.com/gh/RocketChat/Rocket.Chat.Android/tree/develop.svg?style=shield)](https://circleci.com/gh/RocketChat/Rocket.Chat.Android/tree/develop) [![Build Status](https://travis-ci.org/RocketChat/Rocket.Chat.Android.svg?branch=develop)](https://travis-ci.org/RocketChat/Rocket.Chat.Android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a81156a8682e4649994270d3670c3c83)](https://www.codacy.com/app/matheusjardimb/Rocket.Chat.Android)
5+
[![CircleCI](https://circleci.com/gh/RocketChat/Rocket.Chat.Android/tree/develop.svg?style=shield)](https://circleci.com/gh/RocketChat/Rocket.Chat.Android/tree/develop) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a81156a8682e4649994270d3670c3c83)](https://www.codacy.com/app/matheusjardimb/Rocket.Chat.Android)
6+
7+
## Get it from the stores
8+
9+
[![](https://user-images.githubusercontent.com/551004/48210434-74c07100-e35e-11e8-8eee-3ba84ffa74d7.png)](https://play.google.com/store/apps/details?id=chat.rocket.android) [![](https://user-images.githubusercontent.com/551004/48210349-50649480-e35e-11e8-97d9-74a4331faf3a.png)](https://f-droid.org/en/packages/chat.rocket.android/)
610

711
## Description
812

913
This repository contains all the code related to the Android native application of [Rocket.Chat](https://github.com/RocketChat/Rocket.Chat/#about-rocketchat). 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.
1014

11-
1215
## How to build
1316

14-
- You need to download the latest [Android Studio Preview](https://developer.android.com/studio/preview/) version since the stable IDE version does not support the [JetPack](https://developer.android.com/jetpack/) that is being used on this application.
15-
- 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](https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle) to see the compatible versions.
17+
- 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](https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle) to see the compatible versions.
1618
- 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.
1719

1820
### SDK Instructions
1921

2022
- This version requires the [Kotlin SDK](https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK) for Rocket.Chat. Clone the Kotlin SDK in by running `git clone https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK.git`.
21-
- 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:
23+
- 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:
2224

2325
```
2426
cd Rocket.Chat.Android/app
2527
./build-sdk.sh
2628
```
2729

30+
**Note:** *You need to have Java 8 as default Java for the system (project won't build when using a Java 9+ version).*
31+
2832
## How to run
2933

3034
### Command Line
@@ -35,12 +39,12 @@ cd Rocket.Chat.Android/app
3539

3640
### Android Studio
3741

38-
- 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.
42+
- 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.
3943

4044
## Bug report & Feature request
4145

4246
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 suppose to be used for bugs, improvements and features in the native Android application.
4347

4448
## Coding Style
4549

46-
Please follow our [coding style](https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md) when contributing.
50+
Please follow the official [Kotlin coding convections](https://kotlinlang.org/docs/reference/coding-conventions.html) when contributing.

app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
applicationId "chat.rocket.android"
1717
minSdkVersion versions.minSdk
1818
targetSdkVersion versions.targetSdk
19-
versionCode 2050
20-
versionName "3.1.1"
19+
versionCode 2057
20+
versionName "3.2.0"
2121
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2222
multiDexEnabled true
2323

@@ -140,6 +140,7 @@ dependencies {
140140
implementation libraries.frescoAnimatedWebP
141141

142142
implementation libraries.glide
143+
implementation libraries.glideTransformations
143144

144145
kapt libraries.kotshiCompiler
145146
implementation libraries.kotshiApi

0 commit comments

Comments
 (0)