Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTFS: Add file storage and service implementation #571

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Jan 26, 2025

TL;DR

Added GTFS static file download and storage functionality for NSW train data.

What changed?

  • Integrated GTFS static module into the app and trip planner feature
  • Added file storage implementations for both Android and iOS platforms
  • Implemented crash reporting for file storage failures
  • Added NSW GTFS service to download train data
  • Disabled HTTP client logging in trip planner network module

How to test?

  1. Launch the app
  2. Navigate to the Saved Trips screen
  3. Verify that GTFS data is downloaded and stored locally
  4. Check device's file storage for saved GTFS files
  5. Verify crash reporting works by simulating a file storage failure

Why make this change?

To enable offline access to NSW train schedule data by downloading and storing GTFS static files locally on the device. This will improve app reliability and reduce dependency on network connectivity for basic schedule information.

@ksharma-xyz ksharma-xyz changed the title Add Gtfs module - call api testing GTFS: Add file storage and service implementation Jan 26, 2025
@ksharma-xyz ksharma-xyz marked this pull request as ready for review January 26, 2025 11:12
@ksharma-xyz ksharma-xyz added this to the v1.0.9 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant