Customizing the image assets of mobile apps

Match the icons in your mobile app with the requirements of your company or project by replacing default image assets with a custom set of graphics. Upload your custom assets in a single .zip file that contains images for the icons that appear on the home screen and on the splash screen when the mobile app starts.
Before you begin: Create a mobile channel for your mobile app. For more information, see Setting up mobile apps.
Important: When you replace the default image files in the assets .zip file, ensure that you keep the directory structure, file names, and image dimensions of your custom assets .zip file identical to the setup in the default .zip file. If a specific image asset is missing in your custom assets .zip file, the operating system of the mobile device rescales the existing assets (Android), or replaces the missing assets with the system-default resources (iOS).
  1. Download the simplified assets .zip file that matches your version of Pega Infinity Mobile Client.
  2. Extract the contents of the .zip file.
  3. Replace the image assets in the folders that you extracted from the .zip file to customize the following graphics:
    Choices Actions
    Mobile app icon (iOS)
    1. Open the common_assets folder, and then replace the icon.svg file with the image file that you want to use.
      Note: If you plan to publish your mobile app in the Apple App Store, you must use a rectangular icon. iOS mobile devices also rescale the icon.svg file and use it as an icon to display notifications on the status bar of your mobile app.
    Mobile app icon (Android)
    1. Open the common_assets folder, and then replace the icon.svg file with the image file that you want to use.
    2. Open the android folder, and then replace the icon_round.svg file with the image file that you want to use.
      Note: Use a circular icon. Android devices that support circular launcher icons use the icon_round.svg file instead of the icon.svg file as the app icon.
    3. Open the android folder, and then replace the notification_icon.svg file with the image file that you want to use.
      Note: Android mobile devices use this icon to display notifications on the status bar of your mobile app. Use an icon that matches the following requirements:
      • Image format – 32-bit .png (with alpha)
      • Transparent image
      • Transparency Color Index – White (#FFFFFF)
    Splash screen logo (iOS) Open the ios folder, and then replace the [email protected] file with the image file that you want to use.
    Splash screen logo (Android) Open the android/drawable-resolution folder for each resolution of the target mobile device that you want to support, and then replace the splashlogo.png file with the image file that you want to use.
  4. Select the folders that you extracted from the .zip file that now contain your custom assets, and then compress them to a single .zip file.
  5. Open your mobile channel:
    1. In the navigation pane of App Studio, click Channels.
    2. In the Current channel interfaces section, click the icon that represents a channel for your mobile app.
  6. On the mobile channel page, on the Layout tab, in the Styling section, click the preview of the icon and splash screen of your mobile app.
  7. In the Update branding window, click Custom, and then upload your custom branding assets .zip file:
    • To upload the custom branding for the first time, click Upload zip file, and then choose the .zip file with your custom image assets.
    • To update the existing custom branding, click Replace, and then choose the .zip file with your updated custom image assets.
  8. Click OK, and then click Save.
Result: At run time, your mobile app now uses the custom image assets from the .zip assets file that you uploaded in the mobile channel.
What to do next:  Verify the changes to your mobile app by generating, installing, and launching the app. For more information, see Generating native mobile apps.