Rocket.Chat.Android icon indicating copy to clipboard operation
Rocket.Chat.Android copied to clipboard

[Question] How to limit the app to one server?

Open abdellahaski opened this issue 8 years ago • 4 comments

Description

Hello, How can I limit the app to only my self hosted server ? It's not an issue It just a question everything else works perfectly I just want to limit it to only my server.

Devices and Versions

Your Rocket.Chat.Android version: 2.3.0 Build 2022 Your Rocket.Chat Server version: 0.64.2

abdellahaski avatar May 25 '18 22:05 abdellahaski

Hi, there is no such functionality yet. But you can try to hardcode your URL.

dachnikrus avatar May 28 '18 05:05 dachnikrus

@abdellahaski There's no way to do that today, but PRs are welcome, we really want to have a this support.

rafaelks avatar May 28 '18 12:05 rafaelks

@abdellahaski One way to do this right now, without PR is: app -> res -> layout -> fragment_authentication_server.xml There you can hide http:// https:// choose and EditText with addres, but there type in your URL in android:hint="you.url.com"

This way, for the first start of app you tap connect and it uses your server

dachnikrus avatar May 29 '18 07:05 dachnikrus

Thank you so much guys for your help, I'll try it.

abdellahaski avatar May 29 '18 13:05 abdellahaski