Hi there ,
At elementary we ran into some problems with app using EDS which are packaged as Flatpack: We have EDS installed on the host system which can be configured through the elementary System Settings > Online Accounts.
Then there is the EDS library packaged within the Flatpack apps such as elementary Tasks, Mail and Calendar. We now try to retrieve the credentials configured in the host EDS from Flatpack with the following code:
var credentials_provider = new E.SourceCredentialsProvider (registry);
E.NamedParameters credentials;
credentials_provider.lookup_sync (collection_source, null, out credentials);
But unfortunately this does not seem to be passed through the host system as it does not return any credentials. Therefore we assume the call keeps stuck within Flatpack.
Is there an existing way to do this?
See Provide way for Flatpak to retrieve credentials · Issue #209 · elementary/switchboard-plug-onlineaccounts · GitHub for more information.