Tags: 4.11
This is the 4.11 release.
There are two main changes, both related to the quick start help (local hints).
CHANGE 1
========
Currently there are two types of quick start help results:
* A login result specific to a child scope. Now, if the child scope
is not installed, the login result is not displayed.
* A button that takes the user to settings > accounts for a specific account
(for example Google) but not for any particular child scope/app. To suppress
these results in parts of the world where they are not appropriate, you
now modify hints.json for the item to specifically state the locales (ll_CC)
in which the result should NOT display. For example, the following
supresses display of Google account result in zh_CN locale:
"items": [
{
"hide_in_locales": "zh_CN",
"_title": "<b> Review your Google sync settings</b>",
"_description": "Adding you Google....",
"art":"icons/today/google.png",
"action": {
"_name": "Add account",
"uri": "settings:///system/online-accounts"
}
}
]
CHANGE 2
========
Apparently 15.04.4 introduces an online accounts change that requireis a
different ServiceName (used to create an online account client).
* Previously the ServiceName was just the fully qualified scope ID, for
example: com.canonical.scopes.fbphotos_fbphotos
* With 15.04.4, the ServiceName also requires the provider, for example:
com.canonical.scopes.fbphotos_fbphotos_facebook ('facebook' is the provider)
Aggregator scopes whose quick start help provides a login button for
child scopes that are updated to 15.04.4 online accounts *must* change
the ServiceName for the specific result in the hints.json file to include
the provider.
For example, facebook photos 1.32 uses online accounts 15.04.4. photos-scope
hints.json is now (note ServiceName includes provider ("faceboook") at the end:
"items": [
{
"_title": "<b> Add your account</b>",
"art": "facebook.png",
"oaccount": {
"ServiceName": "com.canonical.scopes.fbphotos_fbphotos_facebook",
"ServiceType": "com.canonical.scopes.fbphotos_fbphotos",
"ProviderName": "facebook",
"QueryScope": "com.canonical.scopes.fbphotos_fbphotos",
"_loggedin": "<b> Successfully logged in</b>"
},
"action": {
"_name": "Add account",
"uri": "settings:///system/online-accounts"
}
}
]
Previoulsy (before facebook photos scope switched to 15.04.4 online accounts) the
ServiceName was only the fully qualified scope ID:
"ServiceName": "com.canonical.scopes.fbphotos_fbphotos",