Hey everyone,
So my school team has been building an app for our programs capstone project. Basically we work for free for a sponsor who asked us to build a construction site management system. We chose to use Bubble as the app builder because it seemed the easiest for us to build without needing any programming knowledge.
The construction management system is to do with tracking of trucks going in and out of a geofence. I was pleased to find that Zeroqode sells a plugin that does exactly that with Map box. I have successfully set it up to track a users location and to store it in the database to be retrieved when needed. However after multiple test drives i have encountered some problems and concerns.
The first issue is that i have saved a polygon in the database and i am trying to pull that polygon onto a given page when needed for the geofencing. It works when i use the create a line element action and switch it to polygon. It even appears on the map box. However I keep getting this error
After I click ok it seems to work, but I believe I am not getting my trigger when marker is inside polygon to work. Could someone please explain to me what I can do to get this to work? It does say to contact the plugin author which is you.
The second major concern is that for this app we require a continuous tracking of location. I have managed to get the page workflows to every 10 seconds delete lat and lon data and replace it. Then for records i created a list where these locations are saved. After doing some road tests we have found that this works. However it only works if the phone stays on the webpage without going to sleep or minimizing the web app. Is there a way for the gps tracking to run even when minimized? I would really appreciate any advise you can provide on this one.
Thanks in advance!