I'm completely new to GIS field and here what I'm trying to do:
I want to make the QField App connects to internal server which has a PostgreSQL and PostGIS running on it.
I created a schema in PostgreSQL with one geometry type.
I enabled the PostGIS to the database
I created a QGIS project, and added the OpenStreetMap as a layer.
I also used Add layer and chose PostGIS and select my schema (from PostgreSQL)
Also, tried to export the project with QfieldSync
Also, I changed the IPv4 in
pg_hba.conf and set firewall rules for PostgreSQL port(5432).
When I use QGis to select points, everything works fine and all data stored to my database. However, when I copy the project to my android phone and use QField, it crashes once I select the project without showing any error.
Is there a special way to export the project to fit with QField?
If I use shapeFiles as layer, the QField works just fine and store data locally but it is not what I need.