chriscoderdr / morro-ride-sharing

1 stars 1 forks source link

[User Story] View Current Location As a driver, I want to see my current location on a map in real-time so that I can track my position and navigate the area effectively. #19

Closed chriscoderdr closed 2 weeks ago

chriscoderdr commented 3 weeks ago

[User Story] View Current Location

Description:

As a driver, I want to see my current location on a map in real-time so that I can track my position and navigate the area effectively.

Acceptance Criteria:

Tasks:

Backend:

Mobile:

Labels:

Related

chriscoderdr commented 3 weeks ago

as Discussed in #3 we are gonna use MapBox

chriscoderdr commented 3 weeks ago

Cannot use Expo Go due to this library needing some native files

chriscoderdr commented 3 weeks ago

got into some troubles running the app in ios 18

due to this https://github.com/rnmapbox/maps/issues/3640

chriscoderdr commented 3 weeks ago

After some consideration decided to update the location every minute, given that: For general ride-sharing purposes in Morro Taxi, updating PostgreSQL every minute should be sufficient and efficient. If there's a specific need for real-time updates within the app, a hybrid approach with real-time location caching (Redis) and PostgreSQL for historical tracking could offer the best of both worlds. in the future we may cache in redis but, at the moment, let's just stay the location every minute