Closed qiarie closed 1 month ago
@qiarie some food for thought How to make the Settings page configurable
@f-odhiambo We agreed to use the application config to configure what menu options are to be displayed on the Settings screen to simplify the feature.
Describe the feature request. Make the options available on the app's
Settings
screen configurable.Additional context Not all options implemented on the
Settings
screen should be available to users by default. For example,Offline Maps
,Download Database
, etc.An app that does not have mapping feature should not have
Offline Maps
as an option.Download Database
option requires the feature to be sanctioned by a client before it can be available to users due to data privacy regulations.Acceptance criteria
Implementation plan (For Engineers)
settingsScreenOptions
config in the application config. This should accept a list of enums.UserSettingScreen
, check that the configuration setting has been set in the application config for each of the options before rendering.