Skip to content
timosturm edited this page Jun 30, 2020 · 7 revisions

In the (near) future customers should be able to customize the look of the privacy-authenticator app. To better integrate the app into the company the following elements should be customizable:

  • launcher icon (i.e. 'desktop' icon)
  • application icon (in the app, maybe on the about screen too?)
  • application name (on system level and in app)
  • color scheme of the app
  • about screen (?)
  • language (?)

The idea is to automate this progress. Ideally the customer would provide all necessary information and a build server builds the app. This could be done with a simple script. Inside the source code exist a file lib/utils/customizations.dart containing several of the values that must be changed in this progress.

The customization of the iOS app needs further discussion as iOS development is closely liked to XCode.

Things that must be changed:

Icons

Android:

  • android/app/src/main/res contains all images used by android (launcher icon, launch background)

iOS:

  • TODO

Flutter:

  • res/logo contains the logos used in the 'main' screen and in the 'about' screen of the app.

Application Name

Flutter:

  • lib/utils/customizations.dart - applicationName changes the name displayed in the main screen and the alias in the application overview.
  • pubspec.yaml - The key name: does not seem to make any difference.

Android:

  • android/app/src/main/AndroidManifest.xml the key <manifest .. <application .. android:label must be changed.

iOS:

  • TODO

Color scheme

Flutter:

  • lib/utils/customizations.dart contains two keys to change the color scheme of the application: PRIMARY_COLOR and DARK_ACCENT_COLOR these accept hex values for RGBH.

About screen

Flutter:

  • see Icons -> Flutter
  • The information displayed there is currently set in lib/screens/main_screen.dart
  • To be discussed

Language

Flutter:

  • To be discussed
Clone this wiki locally