How to add a new kind of account into Accounts?
-
I can't remember, but it is still possible to define new kinds of accounts to be included in the Accounts in the system (adding to nextCloud, etc)?
-
I can't remember, but it is still possible to define new kinds of accounts to be included in the Accounts in the system (adding to nextCloud, etc)?
It should yes, i think UBsync do that, but seems confined:
https://open-store.io/app/ubsync -
I think I didn't explain myself correctly XD
I was thinking in adding a newserviceProvider that is not in the system.Maybe here:
https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s -
Ah, no. Maybe it is mooooore complicated and ¿unsuported?
From old documentation:
https://wiki.ubuntu.com/SecurityTeam/Specifications/OnlineAccountsConfinementhttps://phone.docs.ubuntu.com/en/platform/guides/online-accounts-developer-guide
And it requires an apparmor template?
-
I think I didn't explain myself correctly XD
I was thinking in adding a newserviceProvider that is not in the system.Maybe here:
https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++sah, ok, apparently notes app is the only app that install providers, services etc... We know that it doesn't work anymore, but that gives the idea :
The provider and service are stored under ~/.local/share/accounts, it is done by the click hook that we can see here:
https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L14For an app to declare the usage of a service, it has to be declared like this : https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/notes.ubports_notes.application?ref_type=heads
Hope that helps
-
@lduboeuf aaaah, true. I thought Notes was unconfined... (I thought all core apps would be), but it seems not to (apparmor)
It also needs to specify an
account-qml-pluginthat I think is how the app (Notes in this case) authorize the provider:the qml file is:
PS: I'm still confused with the different hooks and different apparmors...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login