Skip to content

Shared preferences

Henriette Steenhoff edited this page Feb 22, 2019 · 7 revisions

This page documents all the different shared user preferences within the app, read more from the documentation here. This overview was made in order to create a better overview of what information that is stored based on user input and in what format. The preferences lets the app store user information locally on the user's phone without having to share the information with anyone else. Using this information elsewhere is not part of the initial work. All preferences are stored in Shared Preferences under the name ClimApp. All content is private to the app.

To see the value set for each of the preferences and to get a description of the related content, click the name of the desired preference.

All shared preferences are stored in ApplicationConstants.java together with some other constants that are used throughout the app for consistency.

Preference overview

Physical name Logical name Format Comment
Unit Measuring unit int
Age User age int
Age_onboarding User age input at onboarding string
gender User gender int
Acclimatization Acclimatization int
activity_level Activity level string
Height_value Height in Unit int
Weight Weight in Unit missing
Notification Notification preferences int Under development
Notification_sent Has notification been sent boolean Under development
WBGT Wet Bulb Globe Temperature without solar irradiation float
WBGT_solar Wet Bulb Globe Temperature with solar irradiation float
onboarding_complete Onboarding completed mark boolean

Clone this wiki locally