Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Sunpatch is a Flutter-based app for monitoring personal UV exposure.

How it works

On the main screen, the user can register, login to an existing account, or temporarily login as an anonymous user. Firebase is used for authentication as well as data storage.

As part of the registration process, the user must inform their Fitzpatrick skin phototype, which will be used in determining their maximum daily recommended exposure to UV radiation.

home register skin

After logging in, the user can opt to start monitoring UV radiation every time they are outside or in an otherwise sun-exposed situation.

GPS data is used along with the OpenWeather API to determine the current UVI (UV index) at the user's location. The UVI is used to calculate the amount of UV exposure over time, and while monitoring, this amount is accumulated and shown as a percentage of the maximum daily exposure recommended (as determined by the user's Fitzpatrick skin type).

monitoring1 monitoring2 monitoring3

Running the app

To run or install the app, you'll first need to create the file assets/api_key, containing (only) a valid OpenWeather API key.

Build and run with Flutter.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages