Preparing custom branding assets
You upload branding assets to Pega Platform as a single ZIP file. While the contents of this file can differ, depending on your version of Pega Platform, it contains the image files for icons that are displayed on the home screen of the mobile device, and as splash screens when the app starts.
- For Android, see the icon design section of the Material Design guidelines published by Google.
- For iOS, see the graphics section of the iOS Human Interface Guidelines published by Apple.
Note: To avoid issues with newer devices, download the most recent version of the assets
package from Pega Community, when you are updating an existing mobile app.
If you want to generate the branding graphics automatically, for a detailed description
of the assets.zip directory structure, see Contents of the branding assets package. If you want to provide a complete set of branding graphics, a sample file includes a full
set of branding graphics that you can replace with your custom resources. Take the following
into consideration: - When you add custom images, make sure that the directory structure, file names, and image dimensions are identical to those in the default .zip file.
- 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).
- If you encounter warnings, which indicate that you might have used an incorrect version of the .zip file, see Branding assets templates for various Pega Mobile Client versions on the Pega Community for guidelines on how to select the best template.
-
If you want to generate the branding graphics automatically:
- Right-click the branding-assets.zip file and save the file in a directory of your choice.
- If you are building a mobile app for iOS, skip to substep g.
- Create custom splashlogo.png files in different resolution versions and place them in their respective folders of the branding-assets.zip file.
-
Create the following files and place them within the
android
directory of the
branding-assets.zip
file.
- notification_icon.svg
- keepalive_icon.svg
- icon_round.svg
-
Create the
icon.svg
file and place it in the
common_assets
directory of the
branding-assets.zip
file.
The SVG files are processed automatically.
- If you are building a mobile app for Android, this concludes the procedure.
- Create the icon.svg file and place it in the common_assets directory of the branding-assets.zip file.
- Create the splashlogo.png file and place it in the ios directory of the branding-assets.zip file.
- Optional: For better rescaling results, you can provide the splash screen file in high resolution with either the @2x or the @3x suffix.
-
If you want to provide a complete set of branding graphics:
- Right-click the branding-assets-advanced.zip file.
- Save the file in a directory of your choice.
- Replace all the graphics in the file with your custom resources.