element-hq / element-hq/element-ios

Store FTUE use case in an account setting

Open
#6,478 1 comment 0 reactions 0 assignees View on GitHub
A-Registration good first issue T-Enhancement Team: Delight Z-FTUE
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?

Migrate the FTUE use case value from the local device to an account setting with the key `FTUE.useCaseSelection`

#### Why would you like to do it?

Web is now tracking that data in the account setting. See the implementation https://github.com/matrix-org/matrix-react-sdk/pull/8984

#### How would you like to achieve it?

iOS is asking the use case question to user and storing that information on device. I would like to change the logic to that in the future all answers to this question are set in the account setting `FTUE.useCaseSelection`.

If the account that the user is logging into has already a value set, the FTUE use case selection screen should be skipped entirely.

Finally we should add a snippet of code that migrates the existing "on device use case selection" to the account setting.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.