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, 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#L14
For 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

