RocketChat / Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova (DEPRECATED)
MIT License
104 stars 109 forks source link

Home Page after every start App #140

Open Cikcak opened 7 years ago

Cikcak commented 7 years ago

Is it possible to setup iOS App to start with automaticaly login to some room?

maxlinux2000 commented 7 years ago

you can try to edit index.html from:

<input type="url" id="serverAddress" placeholder="https://demo.rocket.chat" />

to

<input type="url" id="serverAddress" placeholder="https://demo.rocket.chat" value="https://YOURDOMAIN/channel/general"/>

it's possible that it's works....

Cikcak commented 7 years ago

Thank you very much, but I don't know where mentioned index.file is. I complete search through docker app, found many index.html files, but not with <input type="url" id="serverAddress" placeholder="https://demo.rocket.chat" /> content.

maxlinux2000 commented 7 years ago

ah... I'm not using the docker. Just cordova in my chase.

mmm... other way... you can try with a a javascript redirect like this:

<script>
   window.location.replace('https://YOURDOMAIN/channel/general');
</script>

in Admin/Layout/Content

Cikcak commented 7 years ago

I had same idea, but unfortunately it make repetitive reloading page.

jhodapp commented 7 years ago

I'd really like to see this issue resolved as it's the most annoying thing about Rocket Chat's iOS client for me.