digitalservicebund / useid-app-ios

iOS client for BundesIdent
MIT License
5 stars 1 forks source link

Introduce A/B testing solution #177

Closed ovejka closed 1 year ago

ovejka commented 1 year ago
  1. Launch screen stays up to allow Unleash fetch the variants.

    • Happy path: Switch to expected flow as soon as Unleash reports success for fetching feature flags.
    • Unhappy path: Timeout after 1.5 seconds/react to Unleash reporting a fetching error (if possible) and proceed with the app with all A/B tests disabled.
  2. Unleash setup

    • Set supportedToggles for the context property to comma separated string of all supported A/B tests’ names.
    • Set appName to bundesIdent.iOS to give us a bit platform flexibility with distribution.
    • Disable refresh.
  3. Track variation to Matomo at the time when it’s requested to configure the UI.