enviroCar / enviroCar-Cross-Platform-App

10 stars 14 forks source link

GPS tracking and UI updates (with flutter_blue package) #33

Closed KhyatiSaini closed 2 years ago

KhyatiSaini commented 3 years ago

GPS Tracking

Users can start recording their track once they fulfill the requirements to start the tracking have a car (sensor) selected, connected to OBD-II adapter, have location services turned on.

https://user-images.githubusercontent.com/55757584/130364217-437683ed-1059-480f-8bdf-dc5521e44551.mp4

Pausing GPS tracking

The recording is paused as the user taps on the pause button on the GPS tracking screen, and tracking resumes by tapping the same button.

https://user-images.githubusercontent.com/55757584/130365388-fc5e89f4-a115-4b6b-a3e3-47f89a063cb3.mp4

Location turned off Indicator widget

When location is turned off during tracking this widget is show on the GPS tracking screen.

Not connected to OBD-II adapter widget Indicator widget

When the device is not connected to OBD-II adapter during the track the following widget is displayed.

Location turned off and Not connected to OBD-II adapter widget Indicator widget

When the device is not connected to OBD-II adapter during the track the following widget is displayed.

https://user-images.githubusercontent.com/55757584/130365633-e44daa98-8ec7-4af9-aa95-93b2f90edebf.mp4

Edit Track Name and Save Track

When the recording is stopped, the user can give a custom name to the track recording and save the track.

Tracklist Screen

Uploaded Track List

The uploaded tracklist displays the remote tracks of the currently signed-in user.

Local Track List

The local tracklist displays the local tracks of the user.

No Tracks

The widget is displayed when there are no uploaded tracks and no local tracks respectively.

Track deletion and upload tracks to the server

The snack bar message is displayed when a particular track is uploaded to the server and a specific track is deleted from the local database respectively.

Track Details Screen

The track details screen displays a map widget and shows details about the track.

Alert Dialog to notify that GPS tracking cannot be started

The alert dialog is displayed when GPS tracking does not start as a consequence of not fulfilling the requirements to start recording.

Dark Mode Updates

Changes