TrainsFYI App

TrainsFYI iOS App

After the success of trains.fyi on the web, I received numerous requests for a mobile app version. Many users wanted the ability to track trains while on the go, with native mobile features like notifications and widgets. This led to the development of the TrainsFYI iOS app.

The Concept

The TrainsFYI app brings the same real-time train tracking capabilities of the website to iOS devices, with additional mobile-specific features. The app maintains the core functionality of mapping passenger trains across North America while adding conveniences that make sense for mobile users.


Key Features

Native iOS Experience

  • Optimized for both iPhone and iPad
  • Support for both portrait and landscape orientations
  • Native map interactions and gestures
  • Dark mode support
  • Widgets for quick train status checks

Enhanced Functionality

  • Push notifications for train delays and updates
  • Favorite trains and routes
  • Offline capability for basic features
  • Share train locations with others
  • Quick refresh for real-time updates

Data Integration

The app uses the same comprehensive data sources as the website, ensuring consistent and accurate train tracking across platforms:

  • Real-time GPS positioning
  • Multiple North American rail networks
  • Normalized data presentation
  • Regular updates every minute

Technical Implementation

The app is built using Swift and SwiftUI, Apple's modern framework for iOS development. Some key technical aspects include:

  • MapKit Integration: Utilizing Apple's native mapping solution for smooth performance
  • Background Updates: Efficient background refresh for latest train positions
  • CoreLocation: Enhanced location services for finding nearby trains

The backend infrastructure is shared with the web version, maintaining consistency while optimizing for mobile delivery.


Future Plans

The mobile app continues to evolve with new features planned:

  • Android version development
  • Enhanced widget capabilities
  • Expanded notification options
  • Route planning features
  • Historical train data analysis

Download

The TrainsFYI app is available for free on the iOS App Store. Visit https://apps.apple.com/ca/app/trainsfyi/id6741248139 to download.

Questions

Have suggestions for the app? Found a bug? Want to request a feature? Use the Contact link at the top of this page to get in touch!