Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add functionality for setLargeIcon() on Android Push Notifications #6276

Closed
typefox09 opened this issue Feb 7, 2023 · 2 comments
Closed

Comments

@typefox09
Copy link

typefox09 commented Feb 7, 2023

Feature Request

Description

Currently Capacitor is only using setSmallIcon() when using NotificationCompat.Builder.

If we could add additional functionality with setLargeIcon(), then we could make large notification icons (chat style profile pictures, etc) that we see commonly on most apps today.

I have attached an example below for reference.

Screenshot_20230207_111903_One UI Home

Referenced Android docs:
https://developer.android.com/develop/ui/views/notifications/expanded

Platform(s)

Capacitor - Android

Preferred Solution

Add functionality for setLargeIcon()

This image could be set dynamically from the image we add on Firebase Notification, or alternatively images found locally on the device.

Alternatives

None

@jcesarmobile
Copy link
Member

large icon was added here
ionic-team/capacitor-plugins#280

if it's not working, please, report a new issue on https://github.com/ionic-team/capacitor-plugins/ and provide a sample app where the issue can be reproduced

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2023
@ionitron-bot
Copy link

ionitron-bot bot commented Mar 24, 2023

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 Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants