Public bug reported:

= Background =

I have an app that controls Sonos speakers in your house.  This is a
brand of speaker that connects to your house's wifi and both exposes
information (what is currently playing) and takes commands (play this
song) over the network.

They have official apps for Android and iOS, but there are open source
libraries for the protocol.  So I'm making an Ubuntu app to control
them.

= Problem =

My app wants to be able to detect when the connected network changes
(4G->wifi, wifi->4G, wifi->different wifi), so that it knows when to
scan for speakers on the network.

But currently, the only information exposed by the connectivity service
is "online, connecting, offline" (or using the Qml plugin, just
online/offline).

And when switching between networks (like 4G->wifi), the "online" status
reasonably doesn't change.  So my app never knows that something
happened.

= Proposed Solution =

I understand that exposing information about wifi networks might leak
location data to apps.  But I don't need much.  Merely a signal like
"networkChanged" would be sufficient.

** Affects: indicator-network (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485220

Title:
  [connectivity-service] Tell apps when network has changed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1485220/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to