Branding assets are uploaded to Pega 7 Platform as a single .zip file. While the contents of this file can differ, depending on your version of the Pega 7 Platform, it holds the image files that are used as icons displayed on the home screen of the mobile device, or as splash screens when the app is started.
In a simplified use case, a full set of branding graphics used by a native application is automatically generated at application building stage.
Optional: For Android, the latter two files are automatically processed:
Create custom splashlogo.png files in different resolution versions and place them in their respective folders.
Create the notification_icon.svg file and place it within the android directory.
Create the icon.svg file and place it within the common_assets directory.
Optional: For iOS, all resources can be automatically generated, based on template files:
Create the icon.svg file and place it in the common_assets directory.
Create the splashlogo.png file and place it in the ios directory. For better re-scaling results, the splash screen file can be provided in high resolution with either the @2x or the @3x suffix.
For a detailed description of the assets.zip directory structure, see Contents of the assets package.
In an advanced use case, if specific images must be displayed on selected displays, for example, to create detailed icons with text visible on Retina devices only, you can create such files manually in PNG format, according to the following guidelines:
Right-click and save the following file, which includes a full set of branding graphics that can be replaced by your custom resources: branding-assets-advanced.zip (0.38 MB)
Notes:
When a specific asset is missing from the .zip file, the device's operating system rescales the existing assets (Android) or replaces the missing assets with system-default resources (iOS).
When the .zip file contains unnecessary files, they are ignored and a warning is displayed.
If you encounter warnings, which indicate that you may have used an incorrect version of the .zip file, see the PDN article Branding assets templates for various Hybrid Container versions that helps select the best version of the template.
|