Closed rohankoliyal closed 2 weeks ago
I have the same problem only when the app is in the foreground, but when the notification arrives and the app is in the background or closed it interprets the HTML correctly.
Recently I faced the same behavior. Any updates on this issue?
I need to have html encoded text as in to bold and underline the given text in Localnotification Payload "text" property
Your Environment
cordova -v
):^8.1.0cordova platform ls
):android 8.0.0Expected Behavior
The notficiation text as assigned in encode HTML
Actual Behavior
The notficiation text shows html tags
this.localNotifications.schedule({ // id: 1, foreground: true, title: "titleMessage", text: asasassa });
Reproduce this issue; include code to reproduce, if relevant
Context
I wanted to underline and bold text property of the payload
Debug logs