mozilla-mobile / guardian-vpn-ios

Mozilla VPN for iOS
https://vpn.mozilla.org
Mozilla Public License 2.0
52 stars 16 forks source link

PGAND-230 User should be hinted once the client enter Airplane mode #241

Closed CelesteTang closed 4 years ago

CelesteTang commented 4 years ago

Story

https://jira.mozilla.com/browse/PGAND-230

Implementation

  1. Set selected server when VPNCity object is initialized to prevent setting value to the copy
  2. Keep state machine working if current state is stable happening when vpn is connected and app enter foreground again
  3. save selectedCity to AccountStore everytime selectedCity is updated to prevent getting unsaved tunnel