Hmmm... This is not working for me. I have a Google Drive account configured. When I call GetAccounts(), the account is returned. But the account information I get doesn't include what we need.
We need the translated provider name (e.g. "Google Drive"), the icon name, and the DBus name (e.g. "com.canonical.StorageFramework.Provider.McloudProvider"). I can't get at this information through the methods provided by Account. I had a look at the returned dictionary, but it only contains authentication information. How can I get at the three extra bits of info we need? -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to online-accounts-api in Ubuntu. https://bugs.launchpad.net/bugs/1638769 Title: Need more information from account manager Status in webapps-sprint: Fix Released Status in online-accounts-api package in Ubuntu: Fix Released Bug description: For storage framework, we need to be able to present the user with a selection dialog that allows the user to select a cloud service account, for example, to select where backups should be stored, or where the camera app should upload photos to. Right now, we only get three values from online accounts: id (integer) service id (e.g. “google-drive-scope”) display name (e.g. “[email protected]”) This isn’t quite sufficient for what applications need. In particular, they need a (translated) display string that identifies the service (e.g. “Google”, “Dropbox”), and they need the icon identifier. Without these things, it’s not possible to present a decent selection dialog, and it’s not possible to reliably distinguish accounts, such as when a user has more than one account with the same service, or has accounts with different services but the same email address. Could you please add the following to the account information dictionary: - provider ID - translated provider name - icon name To manage notifications about this bug go to: https://bugs.launchpad.net/webapps-sprint/+bug/1638769/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp

