I am building a field marketing app for my team using FlutterFlow. My goal is to track their location and distance travelled from when they clock in until they clock out.
Is it possible to track a user's location in the background (even when the app is not open)? If so, what are the specific steps in FlutterFlow to enable this for both Android?
How can I calculate the total distance travelled and the time spent at each location using the location data?
Are there any specific FlutterFlow packages or custom code required for this, and what are the best practices for managing location permissions and data storage in Firebase?