[SailfishDevel] Account management

Tigre-Bleu devel at tigre-bleu.net
Wed Nov 13 22:50:47 UTC 2013


Ok, thanks for the info.

I will then just wait for the Sailfish accounts control implementation details and implement everything in the app for the moment.

Antoine

----- Mail original -----
De: "Robin Burchell" <robin+meego at viroteck.net>
À: "Sailfish OS Developers" <devel at lists.sailfishos.org>
Envoyé: Mercredi 13 Novembre 2013 23:41:48
Objet: Re: [SailfishDevel] Account management

Hi,

On Wed, Nov 13, 2013 at 9:26 PM, Tigre-Bleu <devel at tigre-bleu.net> wrote:
> Hi Jonni,
>
> nemo-qml-plugin-accounts-qt5 looks like what I'm looking for, but I have a hard time trying to figure out how it's working because I can't find a lot of documentation/examples.

You most likely don't want that. It was an earlier evolution of
things, and is not currently used on Sailfish. There is some stuff
related to sharing/accounts that is not yet released at this time, and
we will not be providing a public API for this initially.

> If I understand correctly and correlates to what I've read about accounts-ui for harmattan, it is only needed to put a service/provider xml file to the right path in the file system. Am I correct?
>
> If yes then I can't find the right path to put the files on the emulator. According to the tests on github ( https://github.com/nemomobile/nemo-qml-plugin-accounts/blob/master/tests/tests.pro ) the files shall be in
>
> /usr/share/accounts/services
> /usr/share/accounts/providers

You will want services/provides files, and a UI to create accounts
with if you want to look at hacking around on your device.
Unfortunately, we aren't yet ready to promise forward compatibility
for the sharing/accounts framework, so this is something that would
not be accepted in the store at this time.

> However those files do not exist on the emulator and there is no app to add accounts also in the app menu of the emulator. Is this a limitation of the emulator or is there some package to install on the simulator that I didn't find?

Accounts control is handled in the settings application, which is not
included in emulator images at this time.

BR,

Robin
_______________________________________________
SailfishOS.org Devel mailing list


More information about the Devel mailing list