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

WIP feat(local-notifications): add Inbox and BigText Style for android #1513

Closed
wants to merge 1 commit into from

Conversation

mburger81
Copy link

This is a suggestion to use same behavior as cordova plugin to handle android InboxStyle and BigTextStyle.
I would like to ask you, how do you would like to implement features like this and we will try to do the implementation. Or at least we'll try.

This is a suggestion to use same behavior as cordova plugin to handle android InboxStyle and BigTextStyle.
I would like to ask you, how do you would like to implement features like this and we will try to do the implementation. Or at least we'll try.

} else {

mBuilder.setStyle(new NotificationCompat.BigTextStyle().bigText(localNotification.getBigText()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing because of missing method localNotification.getBigText()
should it be the following?:
mBuilder.setStyle(new NotificationCompat.BigTextStyle().bigText(text));

@imhoffd
Copy link
Contributor

imhoffd commented Jun 30, 2020

@mburger81 Thanks for the PR! I think we'd rather lean towards explicit behavior. Additionally, we're about to begin work on Capacitor 3 which will involve a lot of refactoring, so let's wait on adding this functionality. Local and push notifications may exist separate from the Capacitor core in an official plugin.

I created https://github.com/ionic-team/capacitor/issues/3178 to track this.

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 this pull request may close these issues.

3 participants