Closed nfsprodriver closed 7 years ago
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.