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

Add arrow to expand notification preview in notifications bar #263

Open
andreszs opened this issue Feb 15, 2024 · 3 comments · May be fixed by #268
Open

Add arrow to expand notification preview in notifications bar #263

andreszs opened this issue Feb 15, 2024 · 3 comments · May be fixed by #268

Comments

@andreszs
Copy link

Feature Request

Add an option to show the expand arrow to show the complete notification message payload.

Motivation Behind Feature

Notifications from other apps do show the arrow to expand them.

Feature Description

Check screenshot to see notifications from non-Cordova apps that include the expand arrow:

image

Alternatives or Workarounds

Unknown.

@EkambaramE
Copy link

EkambaramE commented Apr 10, 2024

I'm also facing the issue, Some devices not having arrow button in notification, Some devices having the arrow button. Any solution for this issue ? Its happening only on Android devices.

@EkambaramE
Copy link

I've resolved the issue. Please make the following changes to ensure it works. I'm unable to commit the changes, so I've attached them here for you.

Screenshot 2024-04-11 at 5 33 31 PM

andreszs added a commit to andreszs/cordova-plugin-push that referenced this issue Apr 15, 2024
@andreszs andreszs linked a pull request Apr 15, 2024 that will close this issue
9 tasks
@andreszs
Copy link
Author

andreszs commented Apr 15, 2024

Thanks, that worked perfectly.

The text now can be expanded and in older devices such as Android 6 it will be auto expanded by default. On Android 10, Xiaomi collapses the text and the expand arrow is present and working. I've created a PR with your fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants