• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

RocketChat/Rocket.Chat.Android: Legacy mobile Rocket.Chat client in Kotlin for A ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

RocketChat/Rocket.Chat.Android

开源软件地址(OpenSource Url):

https://github.com/RocketChat/Rocket.Chat.Android

开源编程语言(OpenSource Language):

Kotlin 99.8%

开源软件介绍(OpenSource 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
awslabs/aws-mobile-appsync-sdk-ios: iOS SDK for AWS AppSync.发布时间:2022-08-30
下一篇:
googleads/googleads-mobile-ios-mediation发布时间:2022-08-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap