ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #23371
Re: web-app https://appear.in/ not asking permissions for cam and mic
Sorry everyone,
I'm not actively monitoring the mailing list anymore. Got notified via
GitHub at https://github.com/bittner/appear-in/issues/3
I've added the suggested change that makes the webapp-container set
the user agent to the one of the desktop Chromium Web Browser, and
released a new version of the WebApp. This is the change:
https://github.com/bittner/appear-in/blob/master/appear-in.desktop#L6
Please, try updating the app on your phone to see whether it now
works. (I don't have UT installed anymore, so I can't test it myself,
sorry!)
Cheers, Peter
2017-01-12 10:50 GMT+01:00 Matthias Apitz <guru@xxxxxxxxxxx>:
> El día Wednesday, January 11, 2017 a las 01:14:47PM +0100, Olivier Tilloy escribió:
>
> ...
>> > Can you help me to understand this. Thanks
>>
>> appear.in is using the user-agent string¹ to present different content
>> based on what it guesses the OS is. In that case it incorrectly thinks
>> it’s android (because the UA string exposed by webbrowser-app contains
>> a "like Android" token). It therefore presents an android-specific
>> link which will open the appear.in android app if installed, or most
>> likely redirect to the play store to suggest installing it if not.
>> There is a mechanism for webapps to override the default user agent,
>> so I was suggesting that the author of the appear.in webapp (Peter
>> Bittner, CC'ed here) should use it to "fix" the webapp.
>> Happy to help testing or do further investigation if needed.
>
> Thanks for the enlightenment.
>
> Peter, is there something to config or patch (even with a hex editor) to
> get this running on my beloved BQ E4.5?
>
> Thanks
>
> matthias
Follow ups
References