Hi ! Revision 1 of acs-app was rejected over the dbus slot below, so revision 2 and later are held for the same reason. Please review the latest revision. It replaces revision 1, which also had playback and network bugs.
name: acs-app
description: ACS (Apar's Classroom), the desktop app of our education platform
for students in Bangladesh, recorded lessons, live classes,
exams and offline lesson downloads. It is a Flutter/GTK3 app.
Web pages (live classes, exams, YouTube lessons) are WebKitGTK views.
snapcraft: PRIVATE
upstream: PRIVATE
upstream-relation: maintainer (ASG SHOP, publisher and developer of the app)
plugs:
camera:
request-type: auto-connection
reasoning: students turn on their camera in live classes and in exams, which run in the app's
WebKitGTK views. The page asks first and the app shows the student a permission prompt
before webkit opens the camera. This is a core function of the app.
audio:-record:
request-type: auto connection
reasoning: students speak in the live class inside the same WebKitGTK views and behind the
same in-app permission prompt. This is a core function.
network-manager-observe:
request-type: auto-connection
reasoning: the app reads Network Manager's connectivity state (connectivity_plus) to show
students whether they are online and to pause and resume lesson downloads when the
connection drops. It only reads state. It changes nothing.
slots:
dbus-acs:
interface: dbus
attributes:
bus: session
name: com.asgshop.acs
request-type: manual-connection
reasoning: ACS is a Flutter/GTK3 application (GApplication) with application ID
com.asgshop.acs, the reverse DNS of our domain asgshop.com GTK registers that name on
the session bus for single-instance handling: a second launch, and the com.asgshop.acs://
link our browser-based Google sign-in opens to return to the app, are passed to the running
window. The bus name matches the application ID and the desktop file
(com.asgshop.acs.desktop). Without this slot g_application_register fails under AppArmor
and the app exits at launch.
Thanks