[
https://issues.apache.org/jira/browse/CB-11417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327575#comment-15327575
]
David Barth commented on CB-11417:
----------------------------------
It seems your app doesn't have the right apparmor policy set.
Can you verify the content of the file
./platforms/ubuntu/ubuntu-sdk-15.04/armhf/prefix/manifest.json in your project
build directory?
Normally, policy-groups (ie permissions) are added at the time a plugin is
added to a project. Maybe there was something that went wrong when you did
"plugin add cordova-plugin-camera" ?
> [ubuntu] Camera plugin crashes app
> ----------------------------------
>
> Key: CB-11417
> URL: https://issues.apache.org/jira/browse/CB-11417
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 3.5.0
> Environment: Aquaris E4.5 OTA11
> Reporter: Thomas Uher
> Assignee: David Barth
>
> Launching the camera causes the app to crash.
> The permission were set to allow camera access in the ubuntu phone system
> settings.
> ==== LOG ====
> [TT 2016-06-11 16:46:22.480949] [service.cpp:29@instance]
> [DD 2016-06-11 16:46:22.521943] [player_stub.cpp:184@operator()]
> PlaybackStatusChanged signal arrived via the bus (status:
> PlaybackStatus::stopped)
> Warning: mpris.Player.Error.InsufficientAppArmorPermissions: Warning: Failed
> to authenticate necessary apparmor permissions to open uri: Client is not
> allowed to access: file:///system/media/audio/ui/camera_click.ogg
> [TT 2016-06-11 16:46:22.575176] [service.cpp:29@instance]
> [DD 2016-06-11 16:46:22.599139] [player_stub.cpp:184@operator()]
> PlaybackStatusChanged signal arrived via the bus (status:
> PlaybackStatus::stopped)
> Warning: mpris.Player.Error.InsufficientAppArmorPermissions: Warning: Failed
> to authenticate necessary apparmor permissions to open uri: Client is not
> allowed to access: file:///system/media/audio/ui/camera_click.ogg
> Warning: QObject::connect: No such slot
> AalImageCaptureControl::onPreviewReady()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]