ServiceArc
Your Local Services, One tap away
The problem ServiceArc solves
The Problem it Solves
Many people face difficulty when they urgently need local service providers such as electricians, plumbers, cleaners, or repair technicians. Finding reliable workers usually requires calling multiple contacts, searching manually, or waiting a long time for someone to arrive. This process is often slow, inconvenient, and unreliable.
Customers also have no way to track the provider’s location, know whether the service request has been accepted, or communicate easily with the worker. On the other hand, service providers struggle to find nearby customers and manage service requests efficiently.
How Our Solution Helps
Our platform ServiceArc solves these problems by connecting customers with nearby service providers in real time.
Customers can
Find nearby service providers instantly
Send a service request with one click
Track the provider’s location on a live map
Receive updates such as request accepted, provider arrived, and service completed
Chat directly with the provider
View booking history and manage requests easily
Service providers can
Receive service requests from nearby customers
Accept or reject jobs instantly
Navigate directly to the customer’s location
Manage their availability by switching online/offline
Track earnings and completed bookings
Challenges we ran into
Challenges I Ran Into
During the development of ServiceArc, I faced several technical and design challenges while implementing real-time service booking, location tracking, and request management.
1. Real-Time Request Synchronization
One of the biggest challenges was managing real-time updates between customers and service providers using Firebase Firestore. Sometimes the customer dashboard displayed repeated notifications such as “Request Accepted” or “Service Completed” multiple times.
Cause
The issue happened because the app was listening to all past service requests instead of only the active request. Each database update triggered the listener again, causing duplicate notifications.
Solution
I fixed this by:
Filtering the Firestore query to listen only to active requests
Using conditions like status = pending / accepted / arrived
Limiting the listener to one active request
This reduced unnecessary triggers and ensured clean real-time communication.
2. Provider Online/Offline Status
Another challenge was ensuring that offline providers do not appear on the customer map. Initially, all providers were being loaded regardless of their availability.
Cause
The database query did not filter providers based on their online status.
Solution
I updated the Firestore query to:
Java
Copy code
.whereEqualTo("role", "provider")
.whereEqualTo("online", true)
This ensured that only available service providers are visible to customers.
3. Location Tracking and Map Integration
Implementing real-time location tracking using Google Maps API and FusedLocationProviderClient was another challenge. Sometimes the location was not updating correctly or markers were being duplicated on the map.
Solution
I solved this by:
Clearing map markers before updating locations
Using continuous location updates
Ensuring proper permission handling for location access
This allowed accurate live location tracking of customers and providers.
4. Request Expiry System
I wanted service requests to automatically expire if a provider did not respond within 5 minutes.
Solution
I implemented a timestamp-based expiration system using Firestore:
Added an expireAt field when the request is created
Checked the expiration time when loading requests
Removed expired requests from the provider dashboard
This improved the user experience and prevented stale requests.
