I struggle to edit my project in QField on a Samsung Galaxy Tab Active 2. The general idea would be to create and edit points in the field and save them in a PostgreSQL db (offline and online).
What I did so far is the following:
- I created a portable project in QGIS (My project consists of a simple WMS base map and a "mask" that opens when creating a new point asking for the attributes of that point. This layer's source is the postgresql db. Editing and saving to the database works in the QGIS project.)
- Exported the project via Qfield sync as a package for QField
- Saved the package on the tablet under: internaldata/Android/Data/ch.opemgis.qfield
- Opened the project in QField on the tablet
-> The project will distplay perfectly but is not editable.
The Log-message says everywhere that the connection to database failed (PostGIS) and that editing cannot be started (QField).
To test this error, I set the layer in the QField sync project configuration to offline editing (so that it won't search for a db connection online). However, the log stays the same. This is why I believe that not being able to edit anything is an error that is based on some database connection mistake.