-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu Touch Edition #1135
Ubuntu Touch Edition #1135
Conversation
"desktop": "loqui.desktop" | ||
} | ||
}, | ||
"maintainer": "LoquiIM Community", | ||
"name": "com.ubuntu.loqui.im.loqui", | ||
"title": "LoquiIM", | ||
"version": "$(Loqui.Version)" | ||
"version": "0.5.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$(Loqui.Version) is supposed to be replaced with the version during the build to avoid hardcoding the version
I am assuming WhatsApp registration fails because Ubuntu Touch doesn't allow the application to set the User-Agent header when sending the registration request. The only thing that will likely work is XMPP via a Websocket connector. |
So, which User Agent is necessary? |
see tokenData.json "u": "WhatsApp/2.16.9 S40Version/14.26 Device/Nokia302" Looks like you might be able to pass that in via --user-agent-string |
Yeah, thanks! Got SMS. But after checking the code, nothing happens. |
Because there is no API for raw TCP sockets on Ubuntu Touch, so LoquiIM is unable to connect... |
And let me expect: There's no simple way out of it, right? |
Exactly, the lack of an API for raw TCP sockets is the main issue for Ubuntu Touch support (and any other ports).
|
BTW, one relativelty easy option would be to have small native
application that provides a Websocket-to-TCP proxy and launches the
webapp container.
|
Thanks! I tried Shadowsocks with my Windows Laptop as server and Ubuntu Phone as client without success. |
Just to clarify, there are still code changes needed to make it work,
but those changes should be fairly straightforward.
|
I have merged most of the pull request (except for the README changes and the --inspector). BTW, see #944 for another update... |
After some attemts I finally got Loqui IM running on Ubuntu Touch. The main problem was the loqui.json file, which had too old properties (e.g. webview missing). I only tried Whatsapp, which actually has a problem with the token, so an effective use isn't possible yet. I hope this is a step forwards for Ubuntu Touch users.