Skip to content

Flutter project for tracking your delivery with GPS

Notifications You must be signed in to change notification settings

kforjan/delivery-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeliveryApp - Flutter application for making and delivering orders

Flutter application for tracking the delivery of your orders or delivering the orders to the customers. Main focus was on location tracking and exchanging location data between devices.

About

The main focus of this project was on location tracking and exchanging location data between devices. The application connects two users and enables the exchange of their current locations with one another. Main communication between devices is achieved with the help of Firebase services. Firebase stores the current location of the delivery every few seconds after it has started and shares it with it's customer whose ID is recorded in the order's information. Connecting with Firebase is done with the cloud_firestore package. Cloud_firestore makes accessing data from Firebase simple by using built in methods that provide Stream objects which yield requested data. State management used in this project is Provider with ChangeNotifier.

Used packages

Features

  • Selection between delivery or order
Order features
  • Order selection
  • Finding current location
  • Once the order is accepted by the delivery, live tracking of the delivery
  • Confirming the successful delivery
Delivery features
  • Selection between all available orders
  • Display of order's distance
  • Once the order is selected, display of the delivery location

Setup

  1. Clone the repository using the link below:
https://github.com/kforjan/delivery-app.git
  1. Go to the project root and execute the following commands:
flutter pub get
flutter run

Preview

The 2 phones are running at the same time, phone on the left is ordering and the phone on the right is delivering. Preview of both delivery and order device functionality

note: distance from delivery and delivery location is 0.00km because emulators always have the same coordinates

Possible improvements

  • Separation in 2 applications
  • Recommended route for the delivery
  • Location fetching interval regulation
  • User account implementation
  • Better map providing service
Find the full article here (in Croatian)

About

Flutter project for tracking your delivery with GPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages