What should a mobile app do when connectivity changes during a user action?
Answer
Test offline start, loss and restoration during requests, slow and captive networks, switching Wi-Fi and cellular, queued work, retries and conflict resolution. The UI should communicate state and avoid duplicate purchases or data corruption.
Strong answer includes
- network transitions
- retry and conflict policy
- user-visible state
Practical example
A tester triggers a purchase, then kills the network right after the tap but before the server response arrives, and reopens the app on a restored connection; the app correctly shows 'checking payment status' instead of letting the user tap 'buy' again and risk a double charge.