SDK theming

The Contis SDK has been developed to incorporate theming options for client applications – so that all SDK UI screens appear in the client’s native application colour schemes and branding. The theming function is required across the SCA for both the Android and iOS platform, i.e. both the RegisterDevice and DoSCA methods have theme as parameter, which the client needs to provide to apply their branding to the SDK.
Important! Please note that all theming parameters for both Android and iOS are mandatory.

UI screen with the required parameters in place

Android App

Parameters required for theming are as follows:
  1. AppLogo
  2. PrimaryColor
  3. SecondaryColor
  4. PrimaryButtonTextColor
  5. SecondaryButtonTextColor
  6. TitleFontSize, TitleFontStyle
  7. DescriptionFontSize, DescriptionFontStyle
  8. EditFieldTextFontSize, EditFieldTextFontStyle
  9. ButtonFontSize, ButtonFontStyle
Function to apply theming in Android App
public SDKTheme(int AppLogo, int PrimaryColor, int SecondaryColor, int PrimaryButtonTextColor, int SecondaryButtonTextColor, int TitleFontSize,Typeface TitleFontStyle, int DescriptionFontSize,
                 Typeface DescriptionFontStyle, int EditFieldTextFontSize, Typeface editFieldTextFontStyle, int ButtonFontSize, Typeface ButtonFontStyle, ContisListener ContisListener)

iOS App

Parameters required for theming are as follows:
  1. AppLogo
  2. PrimaryColor
  3. SecondaryColor
  4. PrimaryButtonTextColor
  5. SecondaryButtonTextColor
  6. TitleFont
  7. DescriptionFont
  8. EditFieldTextFont
  9. ButtonFont
Function to apply theming in iOS App
Public Init SDKTheme(AppLogo : UIImage, PrimaryColor : UIColor, SecondaryColor : UIColor, PrimaryButtonTextColor : UIColor, SecondaryButtonTextColor : UIColor, 
                     TitleFont : UIFont, DescriptionFont : UIFont, ButtonFont : UIFont, EditFieldTextFont : UIFont, ContisListener : ContisListener)

Biometric images

Please see Appendix for examples of SDK screens with each type of SCA action available to the customer.