Skip to content

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

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions