Skip to content

Issue with images and icons not being displayed in push messages received while in the foreground on Android devices. #1830

Closed

Description

@2huiju

Bug Report

Plugin(s)

capacitor/push-notification

Capacitor Version

"@capacitor-community/media": "^5.0.0",
"@capacitor/android": "5.0.3",
"@capacitor/app": "5.0.2",
"@capacitor/app-launcher": "^5.0.2",
"@capacitor/clipboard": "^5.0.2",
"@capacitor/core": "^5.0.4",
"@capacitor/device": "^5.0.6",
"@capacitor/filesystem": "^5.0.2",
"@capacitor/haptics": "5.0.2",
"@capacitor/ios": "^5.0.3",
"@capacitor/keyboard": "^5.0.6",
"@capacitor/local-notifications": "^5.0.6",
"@capacitor/network": "^5.0.2",
**"@capacitor/push-notifications": "^5.0.6",**
"@capacitor/splash-screen": "^5.0.2",
"@capacitor/status-bar": "5.0.2",

Platform(s)

android

Current Behavior

Push messages received in the foreground on Android devices do not display images and icons. However, push messages received in the background on Android devices display images and icons correctly. Please provide a solution to this issue.

Expected Behavior

Icons and images should also be properly displayed in push notifications received while in the foreground.

Activity

  1. FranciskoNeves commented on Oct 23, 2025

    @FranciskoNeves

    I have the same problem using "@capacitor/local-notifications": "7.0.3", I've had then icon to the res/drawable folder in android project, and I get the notifications with icon in Android 11, but in Android 15 I'm not getting the icon...

  2. eric-horodyski commented on Feb 26, 2026

    @eric-horodyski
    Member

    We’re reviewing older issues as part of our backlog cleanup effort:
    https://ionic.io/blog/keeping-capacitors-backlog-healthy

    To keep this open, please provide an updated minimal reproduction and environment details on the latest version of Capacitor within 7 days.

    Otherwise, we’ll close it to keep the backlog focused. It can always be reopened with updated info.

  3. Swiezu commented on Aug 18, 2026

    @Swiezu
    Contributor

    @eric-horodyski i just put 3 weeks ago whole MR with reproduction and fix

  4. ionitron-bot commented on Oct 2, 2026

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.

  5. locked and limited conversation to collaborators on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions