<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to add a new kind of account into Accounts?]]></title><description><![CDATA[<p dir="auto">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)?</p>
]]></description><link>https://forums.ubports.com/topic/12051/how-to-add-a-new-kind-of-account-into-accounts</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 19:58:19 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/12051.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Mar 2026 16:36:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to add a new kind of account into Accounts? on Mon, 18 May 2026 09:50:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lduboeuf" aria-label="Profile: lduboeuf">@<bdi>lduboeuf</bdi></a> aaaah, true. I thought Notes was unconfined... (I thought all core apps would be), but it seems not to (<a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/evernote-account-plugin.apparmor?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">apparmor</a>)</p>
<p dir="auto">It also needs to specify an <code>account-qml-plugin</code> that I think is how the app (Notes in this case) authorize the provider:</p>
<p dir="auto"><a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L15" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L15</a></p>
<p dir="auto">the qml file is:</p>
<p dir="auto"><a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/src/account-plugin/qml/evernote/Main.qml.in?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/src/account-plugin/qml/evernote/Main.qml.in?ref_type=heads</a></p>
<p dir="auto">PS: I'm still confused with the different hooks and different apparmors...</p>
]]></description><link>https://forums.ubports.com/post/95813</link><guid isPermaLink="true">https://forums.ubports.com/post/95813</guid><dc:creator><![CDATA[CiberSheep]]></dc:creator><pubDate>Mon, 18 May 2026 09:50:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to add a new kind of account into Accounts? on Mon, 18 May 2026 07:36:22 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cibersheep" aria-label="Profile: CiberSheep">@<bdi>CiberSheep</bdi></a> <a href="/post/95754">said</a>:</p>
<p dir="auto">I think I didn't explain myself correctly XD<br />
I was thinking in adding a new <s>service</s> Provider that is not in the system.</p>
<p dir="auto">Maybe here:<br />
<a href="https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s</a></p>
</blockquote>
<p dir="auto">ah, 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 :</p>
<p dir="auto"><a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/src/account-plugin/data/providers/evernote.provider.in?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/src/account-plugin/data/providers/evernote.provider.in?ref_type=heads</a></p>
<p dir="auto">The provider and service are stored under ~/.local/share/accounts, it is done by the click hook that we can see here:<br />
<a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L14" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/manifest.json.in?ref_type=heads#L14</a></p>
<p dir="auto">For an app to declare the usage of a service, it has to be declared like this : <a href="https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/notes.ubports_notes.application?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-notes-app/-/blob/main/notes.ubports_notes.application?ref_type=heads</a></p>
<p dir="auto">Hope that helps</p>
]]></description><link>https://forums.ubports.com/post/95797</link><guid isPermaLink="true">https://forums.ubports.com/post/95797</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Mon, 18 May 2026 07:36:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to add a new kind of account into Accounts? on Sat, 16 May 2026 15:33:32 GMT]]></title><description><![CDATA[<p dir="auto">Ah, no. Maybe it is mooooore complicated and ¿unsuported?</p>
<p dir="auto">From old documentation:<br />
<a href="https://wiki.ubuntu.com/SecurityTeam/Specifications/OnlineAccountsConfinement" target="_blank" rel="noopener noreferrer nofollow ugc">https://wiki.ubuntu.com/SecurityTeam/Specifications/OnlineAccountsConfinement</a></p>
<p dir="auto"><a href="https://phone.docs.ubuntu.com/en/platform/guides/online-accounts-developer-guide" target="_blank" rel="noopener noreferrer nofollow ugc">https://phone.docs.ubuntu.com/en/platform/guides/online-accounts-developer-guide</a></p>
<p dir="auto">And it requires an apparmor template?</p>
]]></description><link>https://forums.ubports.com/post/95757</link><guid isPermaLink="true">https://forums.ubports.com/post/95757</guid><dc:creator><![CDATA[CiberSheep]]></dc:creator><pubDate>Sat, 16 May 2026 15:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to add a new kind of account into Accounts? on Sat, 16 May 2026 13:54:43 GMT]]></title><description><![CDATA[<p dir="auto">I think I didn't explain myself correctly XD<br />
I was thinking in adding a new <s>service</s> Provider that is not in the system.</p>
<p dir="auto">Maybe here:<br />
<a href="https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s</a></p>
]]></description><link>https://forums.ubports.com/post/95754</link><guid isPermaLink="true">https://forums.ubports.com/post/95754</guid><dc:creator><![CDATA[CiberSheep]]></dc:creator><pubDate>Sat, 16 May 2026 13:54:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to add a new kind of account into Accounts? on Fri, 06 Mar 2026 18:23:30 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cibersheep" aria-label="Profile: CiberSheep">@<bdi>CiberSheep</bdi></a> <a href="/post/93827">said</a>:</p>
<p dir="auto">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)?</p>
</blockquote>
<p dir="auto">It should yes, i think UBsync do that, but seems confined:<br />
<a href="https://open-store.io/app/ubsync" target="_blank" rel="noopener noreferrer nofollow ugc">https://open-store.io/app/ubsync</a></p>
]]></description><link>https://forums.ubports.com/post/93831</link><guid isPermaLink="true">https://forums.ubports.com/post/93831</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Fri, 06 Mar 2026 18:23:30 GMT</pubDate></item></channel></rss>