You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device (or Simulator) you're running with: Pocophone F1
I'm trying to connect to a server hosted in the company I work for, and I'm failing to make it happen in mobile apps (React and Kotlin version).
in Ubuntu desktop version or accessing from mobile browser it's working well under the URL http://li2234:3000
But when I try in the mobile app it fails, in react version I get this message The_URL_is_invalid: 'The URL you entered is invalid. Check it and try again, please!' :
I'm trying to connect to a server hosted in the company I work for, and I'm failing to make it happen in mobile apps (React and Kotlin version).
in Ubuntu desktop version or accessing from mobile browser it's working well under the URL http://li2234:3000
But when I try in the mobile app it fails, in react version I get this message
The_URL_is_invalid: 'The URL you entered is invalid. Check it and try again, please!'
:I took a look in code, then I saw it comes from getServerInfo method:
https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/app/lib/rocketchat.js#L88
which append the input server string with '/api/info', then I tried to run it from my device and it worked:
so now I'm quite confused about why this behavior is happening.
The text was updated successfully, but these errors were encountered: