Use dynamic branding for applications that serve multiple brands with a single login page. This feature requires settings in the Workspace ONE UEM console and code changes in the application.

Console Settings

Request your Workspace ONE UEM admin to set the listed values in the console. Find settings in Groups & Settings > All Settings > Apps > Settings and Policies > Settings > Branding.

  1. Enable Branding.
  2. Add a color in the Primary Color field.

    The application uses this color for the background of splash and loading pages and for action buttons.

Application Code

Change the code to add a company logo and to implement your branding scheme.

  • Company logo - To add a company logo for dynamic branding, override isInputLogoBrandable() in the AWApplication class.

    Example

    /**
                            * Returns if the company logos are brandable.
                            * @return true if branded logos needs to be used on the SDK UI screens, and false
                            if not
                            */
                            protected boolean isInputLogoBrandable() {
                            return true;
                            }
                            
                            
                            
                         
  • Branding scheme - Add your branding scheme to BrandingManager and inject it into the BrandingProvider class.

    Example

    public abstract class AWApplication extends MultiDexApplication implements BrandingProvider
                            {
                            
                            private BrandingManager brandingManager;
                            
                            @Override
                            public final void onCreate() {
                            super.onCreate();
                            brandingManager = new DefaultBrandingManager(
                            SDKContextManager.getSDKContext().getSDKConfiguration(),
                            new SDKDataModelImpl(getApplicationContext()),
                            getApplicationContext());
                            }
                            
                            @Override
                            public BrandingManager getBrandingManager() {
                            return brandingManager;
                            }
                            }