Comment 9 for bug 1316639

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

So there were some issues that we worked out to get this running, including:

* on trusty the click hook does not exist to install the required service and application files that register the app with OA, so we manually copy them to ./local/share/accounts/applications|services. Their names need to be like this:
  * ~/.local/share/accounts/services/com.ubuntu.developer.knitzsche.oa-2_oa-2.service
  * ~/.local/share/accounts/applications/applications/com.ubuntu.developer.knitzsche.oa-2_oa-2.application

* The user needs to grant access through OA settings to the new app. This results in the app listed in OA (under Facebook account). This fails if the desktop file is not found. OA needs to be told the complete file name of the desktop file (because the .application file does not currently contain the full app ID, it is missing the click pkg version). You can add this to the .application file like this:
<application id="com.ubuntu.developer.knitzsche.oa-2_oa-2">
    <desktop-entry>com.ubuntu.developer.knitzsche.oa-2_oa-2_0.3</desktop-entry>
...
</application>