← Back to team overview

ubuntu-phone team mailing list archive

Re: Wire webapp

 

Hi Nikos,

I did that locally using the user_agent of chromium in my desktop pc. It
works, however the layout of the wire-webapp is not prepared to handle
screen width of less than say 720 pixels, a constraint that phones like my
Nexus 4 don't satisfy.

I identified the CSS directives that I needed to override and I tried that
using a qml app with a WebContext, but I haven't been successful (I don't
have previous experience with these kind of hacks). I believe you can't do
that using the standard webapp container.

Besides the CSS issue, everything works out-of-the-box, except for push
notifications which require extra development but are lower priority for me
compared with the CSS issue.

Let us know how it goes!

If anyone has good working examples of how to override CSS in a webapp it's
very much appreciated.

Best Regards,
Felipe.

On Sun, Oct 16, 2016 at 11:27 AM, Vincas Dargis <vindrg@xxxxxxxxx> wrote:

> 2016.10.16 15:18, Nikos Chatziioakimidis wrote:
>
>> What  user-agent-string should I put in my desktop file?
>>
>
> You could try use user agents used in other webapps, such as Skype:
>
> https://github.com/bittner/skype/blob/master/skype.desktop#L6
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References