Netmera Developer Guide
Netmera Docs
  • Netmera Developer Guide
  • Platforms
    • iOS
      • New iOS (Swift)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Widget and In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Advertising ID
        • Changelog
      • Former iOS (Objective-C)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Push Payload Receivers
          • Widget and In-App Messages
          • Customizing In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
          • Custom Web View Presentation
          • Push Icon
        • Live Activities
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Data Transfer
        • Advertising ID
        • SSL Pinning
        • Changelog
    • Android
      • SDK Integration
        • Huawei Integration
        • Huawei Message Receipt
        • Android Integration FAQs
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
        • Custom Web View Presentation
        • Push Icon
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
        • Background Location Permission
      • User & Attributes
      • Data Transfer
      • Advertising ID
      • App Tracking
      • SSL Pinning
      • Changelog
    • Web
      • SDK Setup
        • Self-Hosted SDK Setup
      • Mobile Web Push for iOS
      • Deep Linking
        • Custom Deep Links
      • Events
      • User & Attributes
    • React Native
      • SDK Integration
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • Changelog
    • Flutter
      • SDK Integration
      • Push Notifications
        • Push Notification Permissions
        • Widget and In-App Messages
        • Flutter iOS Media Push
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • SSL Pinning
      • Changelog
    • Cordova
      • SDK Integration
      • Push Notifications
      • Sound & Vibration
      • Push Inbox
      • Events
      • User & Attributes
    • Unity
      • SDK Integration
      • Sound & Vibration
      • Events
      • User & Attributes
      • Changelog
  • Integrated Modules
    • Optimove
    • Adjust
    • Mixpanel
    • IYS Integration
    • VIA Integration
      • Short URL Consent Requests
      • OTP Consent Requests
        • OTP Confirmation Completion
      • VIA Email Rejection Link Generation
      • ETK Rejection via SMS
  • API Documentation
    • REST API
      • Setup
      • Notifications
      • Events
      • User & Device Management
      • Inbox Feature
      • GDPR
      • Error Responses
  • FAQs
    • Push Notifications FAQs
Powered by GitBook
On this page
  • Default Push Icon
  • iOS Push Notifications with Custom Icons
  • Using Custom Icons for Push Notifications
  • Step 1: Update iOS SDK Version
  • Step 2: Add Communication Notification Capability
  • Step 3: Configure Info.plist
  • Step 4: Include Visuals in Service Extension
  • Step 5: Push Icon Configuration
  • Creating a Push with Custom Push Icon

Was this helpful?

  1. Platforms
  2. iOS
  3. Former iOS (Objective-C)
  4. Push Notifications

Push Icon

By default, iOS displays the app icon in push notifications. However, you can personalize the notifications with custom icons to better align with your branding and messaging. Below are the steps to set up and manage custom push icons.

Requirements

  • Minimum SDK Version: Your application must be running SDK Version 3.19.0 or later.

  • Media Push Integration: Media push integration must also be implemented. Please see our documentation for more details on Media Push.

Default Push Icon

When creating a new campaign, if the "Custom Push Icon" option is turned off or not configured.

  • The system checks the icon name specified in Developer > App Info > iOS Push Style > Default Notification Icon.

  • If an icon name is provided in this field, push notifications will use the default icon.

iOS Push Notifications with Custom Icons

In iOS, push notifications are displayed with your app icon by default. If you update your app icon via Xcode > Assets > App Icon, the push notification icon will automatically reflect this update.

Using Custom Icons for Push Notifications

To send push notifications with a custom icon instead of the default app icon, follow these steps:

  • App Icon: Appears as a small icon (Netmera Icon) in the bottom-right corner of the notification.

  • Custom Icon: Serves as the primary, larger icon (Impact Icon) in the notification.

This feature enables personalized notifications while maintaining brand recognition with the app icon.

Step 1: Update iOS SDK Version

Ensure that your iOS SDK is updated to the latest version (SDK 3.19.0 or later) to access new features and maintain compatibility.

Step 2: Add Communication Notification Capability

Integrate the Communication Notification capability into your project. This enables the custom push functionality for your app.

Step 3: Configure Info.plist

Add NSUserActivityTypes with InSendMessageIntent as item 0 to the Info.plist of the main project.

Step 4: Include Visuals in Service Extension

Add your custom icon image to the Service Extension section of your project to ensure that the icon is used and displayed properly in the notification.

Step 5: Push Icon Configuration

  1. Navigate to Netmera Panel > Developer > App Info > iOS Push Style and enter the name of your custom push icon in the Default Notification Icon field.

  2. When entering the custom icon file name, include the full file name along with its extension (e.g., icon.png).

Creating a Push with Custom Push Icon

  1. In the "What" Step of the campaign setup, enable the Custom Push Icon option.

  2. Select Custom Icon: Choose your desired custom icon.

When Custom Push Icon Is Turned Off:

If the Custom Push Icon option is disabled, the system will use the default notification icon specified in Developer > App Info > iOS Push Style (if provided).

PreviousCustom Web View PresentationNextLive Activities

Last updated 2 months ago

Was this helpful?