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 that are displayed on the home screen of the mobile device, or as splash screens when the app starts.
In a simplified use case, you can generate a full set of branding graphics for a native app automatically at the app building stage.
For a detailed description of the assets.zip directory structure, see Contents of the assets package.
For Android only: Prepare the ZIP file by doing the following:
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.
These two files are processed automatically.
For iOS only: Prepare the ZIP file by doing the following:
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.
Optional: For better re-scaling results, you can provide the splash screen file in high resolution with either the @2x or the @3x suffix.
All resources are automatically generated based on the template files.
An advanced use case applies, if specific images are only 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:
A sample file includes a full set of branding graphics that you can replace by your custom resources.
To obtain the sample file:
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 might have used an incorrect version of the .zip file, see Branding assets templates for various Hybrid Container versions on the PDN portal for guidelines on how to select the best template.
|