You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @EddyVerbruggen,
I want to show multiline message in Notifications.
There is already an entry on stackoverflow on this topic.
Link: https://stackoverflow.com/questions/45666384/firebase-push-notification-how-to-show-multiline-message-in-notification
I have extended your plugin therefore. I added the BigTextStyle as a style for Android.
Could you give me the permission to push my adjustments into the master?
I have already tested my adjustments. I've already pushed the adjustments in my fork.
I would like to share my adjustments.
Here are my changes: local-notifications-common.js
Hey @EddyVerbruggen,
I want to show multiline message in Notifications.
There is already an entry on stackoverflow on this topic.
Link:
https://stackoverflow.com/questions/45666384/firebase-push-notification-how-to-show-multiline-message-in-notification
I have extended your plugin therefore. I added the BigTextStyle as a style for Android.
Could you give me the permission to push my adjustments into the master?
I have already tested my adjustments. I've already pushed the adjustments in my fork.
I would like to share my adjustments.
Here are my changes:
local-notifications-common.js
LocalNotifications.defaults = {
id: 0,
title: '',
body: '',
badge: 0,
interval: 0,
ongoing: false,
groupSummary:null,
bigTextStyle: false
};
local-notifications.d.ts
export interface ScheduleOptions {
...
bigTextStyle?: boolean;
local-notifications.android.js
LocalNotifications.schedule = function (arg) {
...
if(options.bigTextStyle){
var bigTextStyle = new android.support.v4.app.NotificationCompat.BigTextStyle();
bigTextStyle.setBigContentTitle(options.title);
bigTextStyle.bigText(options.body);
builder.setStyle(bigTextStyle);
}
Best regards
Tim
The text was updated successfully, but these errors were encountered: