← Back to team overview

ubuntu-phone team mailing list archive

Re: web-app https://appear.in/ not asking permissions for cam and mic

 

On Wed, Jan 11, 2017 at 12:29 PM, Matthias Apitz <guru@xxxxxxxxxxx> wrote:
> El día Wednesday, January 11, 2017 a las 12:12:08PM +0100, Matthias Apitz escribió:
>
>>
>> Hello,
>>
>> I got to know about https://appear.in which allows audio and video conf
>> between multiparties (rooms) from mobiles and any browser.
>>
>> On can download and install the app from
>> https://uappexplorer.com/app/appear-in.peter-bittner
>>
>> And you just create a room by its name, for example
>> https://appear.in/myroom-hal-999
>> and invite your parties to it, and so on.
>>
>> The problem seems to be that on my BQ E4.5 (OTA-14) it does not ask for
>> the permissions of cam and mic.
>>
>> When I go to, for example, to https://test.webrtc.org/ this asks for the
>> perms and one can see them in the system configurator.
>>
>> What could be done or checked?
>
> The log file says:
>
> Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
> Setting session cookie mode to "restored"
> qml: Loading webview on /home/phablet/.local/share/appear-in.peter-bittner
> QQmlExpression: Expression file:///usr/share/webbrowser-app/webcontainer/WebApp.qml:281:25 depends on non-NOTIFYable properties:
>     unity::action::qml::ActionManager::globalContext
> shm_open() failed: Permission denied
> qq= WebViewImplOxide_QMLTYPE_104(0x1a72560) 0x1ac6b60
> qml: Loaded 11 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
> qml: Start browsing
> could not open containers config file  "/home/phablet/.local/share/libertine/ContainersConfig.json"
> [0111/091027:ERROR:layer_tree_host_impl.cc(2250)] Forcing zero-copy tile initialization as worker context is missing
> OxideQQuickScriptMessage: args is deprecated. Please use payload instead
> QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.122" (uid=32011 pid=3972 comm="webapp-container --no-australia-mode --store-sessi") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1413 comm="NetworkManager ")"
> QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.122" (uid=32011 pid=3972 comm="webapp-container --no-australia-mode --store-sessi") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1413 comm="NetworkManager ")"
> "Object path cannot be empty"
> qml: [JS] (https://appear.in/:0) Uncaught (in promise) NetworkError: Failed to register a ServiceWorker: A bad HTTP response code (403) was received when fetching the script.
>
> ** (process:3975): WARNING **: Watchdog triggered, took too long to submit into Zeitgeist Database!
> qml: [JS] (https://d2dxdky9ndqhzz.cloudfront.net/scripts/libs.mobile.beef0dd4.js:382) This appears to be Chrome
> qml: [JS] (https://appear.in/gurucubano:0) Uncaught (in promise) NetworkError: Failed to register a ServiceWorker: A bad HTTP response code (403) was received when fetching the script.
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher
>
> ** (process:3972): WARNING **: Unable to dispatch url 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;':GDBus.Error:com.canonical.URLDispatcher.BadURL: URL 'intent://appear.in/gurucubano#Intent;scheme=http;action=android.intent.action.VIEW;end;' is not handleable by the URL Dispatcher

It looks like the "Join conversation" link is an android intent, which
probably intends to direct the user into installing an app instead of
using the website. Bleh. Hopefully a simple user-agent override will
do the trick.


Follow ups

References