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

Android: Support html attributes in body notifications #666

Closed
ollm opened this issue Oct 4, 2021 · 1 comment
Closed

Android: Support html attributes in body notifications #666

ollm opened this issue Oct 4, 2021 · 1 comment

Comments

@ollm
Copy link

ollm commented Oct 4, 2021

Feature request

I'm migrating from phonegap-plugin-push and something I miss in this plugin is being able to put certain words in bold format in notifications body.

https://github.com/phonegap/phonegap-plugin-push/blob/master/src/android/com/adobe/phonegap/push/FCMService.java
https://stackoverflow.com/questions/45593710/how-to-bold-text-in-a-notification

Example:

{
  "name": "my_notification",
  "notification": {
    "body": "Tomorrow it will be <b>28º</b>",
    "title": "Weather in Barcelona"
  },
  "data": {
    "notification_body": "Tomorrow it will be <b>28º</b>",
    "notification_title": "Weather in Barcelona"
  }
}

Screenshot_1633344648

@dpa99c
Copy link
Owner

dpa99c commented Jan 26, 2022

Resolved by #668 which will be included in next release.

@dpa99c dpa99c closed this as completed Jan 26, 2022
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

No branches or pull requests

2 participants