We currently don't have any concept of an app ID in the scopes run time,
except for one place, where we check whether a scope ID looks like
<scope_id>_<app_id>. That's the case for scopes that are bundled with an
app into the same click.

Is this what you mean?

The easiest way to implement this would be to write a little scopes
client that gets the list of scopes from the registry and then iterates
over the scope ID to check whether there is a scope with an ID that
looks like <some-string>_<app_id>.

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

Title:
  API needed to determine if App ID is a scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1465675/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to