Acs-app: dbus slot (com.asgshop.acs) + auto-connect camera, audio-record, network-manager-observe

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

This request has been added to the queue for review by the @reviewers team.

Hi! Quick update while this is in the review. We uploaded a newer build revision 3 (version 1.0.2+3) which supersedes revision 2 (1.0.1+2). It contains fixes for the playback, network and YouTube controls. Please review and release revision 3, revision 2 no longer needs to go out. The requested interfaces are unchanged.

  • slot dbus-acs (interface: dbus, bus: session, name: com.asgshop.acs), request-type: manual-connection
  • auto-connection: camera, audio-record, network-manager-observer

One addition to the reasoning for audio-record: live classes now also run natively in the app (futter with WebRTC) and the student’s push-to-talk microphone there uses it alongside the camera and microphone in exams and the web class page. Thanks for your time!