Skip to content

[Messaging] Make BigPictureStyle optional behaviour #5086

Open
@mcuelenaere

Description

@mcuelenaere

What feature would you like to see?

Currently when setting the image property on the Notification object, the image is shown unconditionally using the BigPictureStyle notification style.

Having some kind of API to either disable or change this behaviour is a requirement for us.

Currently we have to resort to patching the Firebase library at buildtime, which is not an ideal nor maintainable situation.

How would you use it?

We would use this feature by disabling the BigPictureStyle and showing the image only as a smaller icon, not a full picture.

Notes

On iOS we have to use a similar hack, but this is more maintainable as iOS provides a nicer way to hook into manipulating the notification before it is shown. So if this would get implemented on Android, having something similar on iOS would be nice as well.

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