QField IOS direct access to PostGIS

Hi,
I use a few layers in QField with direct access to the PostGIS database. The credentials are passed via an exported auth.xml file. This works fine on Android, but no longer on IOS. As far as I remember I could use this as well on IOS.
Even when I enter the credentials when prompted in QField it doesn’t work.
Is this due to restrictions from Apple or do I miss something?

IOS 18.5
QField 3.6.6
QFieldSync 4.14.1
QGIS 3.40 LTR

Hi Geom,

Have you added the secrets in QFC? If you do it that way you have the guarantee that it works on Android and on IoS,

Best Berit

Hi Berit,
I suppose Your QFC is QFieldCloud? When You look at my post, I don’t use QFieldCloud, but a plain vanilla PostGIS connection trough https. I know it did work already.

Apologies @geom
So, we usually recommend to use a pg_service.conf file … Because it works on all OS devices. Could you try see whether it works with that.
If this was working before for you for the auth.xml file, then we are not aware of that it would no longer work.
But please try with the the pg_service. conf file and see.