How govuk-once/govuk-mobile-ios-app works
GOV.UK for iOS is a user-facing services app. Users enter through launch and authentication, then reach home and navigate to services such as search, topics, chat, DVLA, travel, notifications, local authority lookup and recent activity. Coordinators manage navigation; view controllers and builders connect user interaction to service-facing parts of the app. The excerpts directly support the home-to-search transition and authentication’s calls, but do not show wiring for most feature flows, so those relationships are not inferred. The README describes no additional product capabilities.
Main entry points: AuthenticationService.swift Authentication · AuthenticationServiceClient.swift Auth client · HomeViewController.swift Home screen · LaunchCoordinator.swift Launch flow
Components 22
App entry
- Launch flow
Production/govuk_ios/Coordinators/Launch/LaunchCoordinator.swift - App coordinator
Production/govuk_ios/Coordinators/Launch/AppCoordinator.swift
User experience
- Home screen
Production/govuk_ios/ViewControllers/HomeViewController.swift - Search screen
Production/govuk_ios/ViewControllers/Search/SearchViewController.swift - Screen builder
Production/govuk_ios/Builders/ViewControllerBuilder.swift - Feature coordinators
Production/govuk_ios/Coordinators
Domain services
- Authentication
Production/govuk_ios/Services/AuthenticationService.swift - Search service
Production/govuk_ios/Services/SearchService.swift - Topics service
Production/govuk_ios/Services/TopicsService.swift - Chat service
Production/govuk_ios/Services/ChatService.swift - DVLA service
Production/govuk_ios/Services/DVLA/DVLAService.swift - Travel service
Production/govuk_ios/Services/TravelService.swift - Authority service
Production/govuk_ios/Services/LocalAuthorityService.swift - Notification service
Production/govuk_ios/Services/NotificationCentreService.swift - Activity service
Production/govuk_ios/Services/ActivityService.swift
Data and networking
- Auth client
Production/govuk_ios/ServiceClients/AuthenticationServiceClient.swift - API networking
Production/govuk_ios/Networking/APIServiceClient.swift - Search history
Production/govuk_ios/Repositories/SearchHistoryRepository.swift
Platform integrations
- Secure token store
Production/govuk_ios/Services/AuthenticationService.swift - Analytics service
Production/govuk_ios/Services/Analytics/AnalyticsService.swift
Other components
- App user
- Authentication provider
Connections 12
- App user → Launch flow: opens app
- Launch flow → App coordinator: starts
- App coordinator → Home screen: shows home
- App user → Home screen: uses
- Home screen → Search screen: presents search
- Search screen → Search history: history storage
- Authentication → Auth client: requests auth
- Authentication → Secure token store: stores tokens
- Authentication → Analytics service: tracks errors
- Authentication → Authentication provider: authenticates
- Auth client → Authentication provider: performs login
- Auth client → API networking: revokes token