Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Ubuntu Touch Edition #1135

wants to merge 7 commits into from

Conversation

nfsprodriver
Copy link
Member

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.

"desktop": "loqui.desktop"
}
},
"maintainer": "LoquiIM Community",
"name": "com.ubuntu.loqui.im.loqui",
"title": "LoquiIM",
"version": "$(Loqui.Version)"
"version": "0.5.8"
Copy link
Contributor

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

@cmeerw
Copy link
Contributor

cmeerw commented Sep 6, 2016

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.

@nfsprodriver
Copy link
Member Author

So, which User Agent is necessary?

@cmeerw
Copy link
Contributor

cmeerw commented Sep 6, 2016

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

@nfsprodriver
Copy link
Member Author

Yeah, thanks! Got SMS. But after checking the code, nothing happens.

@cmeerw
Copy link
Contributor

cmeerw commented Sep 6, 2016

Because there is no API for raw TCP sockets on Ubuntu Touch, so LoquiIM is unable to connect...

@nfsprodriver
Copy link
Member Author

And let me expect: There's no simple way out of it, right?

@cmeerw
Copy link
Contributor

cmeerw commented Sep 6, 2016 via email

@cmeerw
Copy link
Contributor

cmeerw commented Sep 8, 2016 via email

@nfsprodriver
Copy link
Member Author

nfsprodriver commented Sep 11, 2016

Thanks! I tried Shadowsocks with my Windows Laptop as server and Ubuntu Phone as client without success.

@cmeerw
Copy link
Contributor

cmeerw commented Sep 11, 2016 via email

@cmeerw
Copy link
Contributor

cmeerw commented Sep 13, 2016

I have merged most of the pull request (except for the README changes and the --inspector). BTW, see #944 for another update...

@cmeerw cmeerw closed this Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants