Skip to content
English
  • There are no suggestions because the search field is empty.

How the Mobile App Decides Which Server to Connect To

Source: workshop-expo-mobile-app/screens/LoginScreen.js, api/session.api.ts

  • App checks AU, US, UK servers sequentially until it finds the user's account
  • User has no control over which server is selected
  • If user has accounts in multiple regions, first match wins
  • Server is locked after login — must log out to switch regions
  • ANY network loss immediately logs user out — no offline mode

Support scenarios

  • "App logged me into wrong region" → user has accounts in multiple regions
  • "App keeps logging me out" → intermittent WiFi drops triggering logout
  • "I lost my work" → network dropped during save, no offline cache