Skip to content

Customizing the app

cheng-tan edited this page Jun 5, 2020 · 4 revisions

This document goes to the standard way to customize CovidSafe.

Visuals

To customize fonts, images and color selections. Do the following:

  1. To change color palette: assets/colors.js
  2. To change the logo within the app: assets/home/logo
  3. To change splash screen:
  4. To change the app icon:

Backend

Backend URLs are set in utils/endpoints.js.

Text and localization

All the strings in the app are localizable and the string files live in the locales directory. For example locales/en.json' has the English set of strings and locales/es.json` has Spanish.

When adding a string, make sure to include in all languages as the app will default to the English one when missing.

You can control which languages are available in locales/i18n.js.

Analytics and secrets

Covidsafe comes with Microsoft AppCenter support. To enable it, call the script appcenter-pre-build.sh with the AppCenterKey enviroment variable set to your secret.

Clone this wiki locally