question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add custom actions to notifications

See original GitHub issue

It will be useful to be able to add custom actions to UploadNotificationConfig, like this:

new UploadNotificationConfig()
    .addAction(actionIconResourceID, buttonText, pendingIntent)

addAction should have the following signature:

public final UploadNotificationConfig addAction(
    int iconResourceID, String text, PendingIntent action)

This explains how to marshal and unmarshal PendingIntents to/from Parcelable

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
gotevcommented, Nov 8, 2017

@VSG24 Ok but no value added with your comments yet and it’s a pity. I like to discuss about software design a lot! A part the obvious, what do you suggest? It’s open source, everything can be changed for the better 😃

1reaction
gotevcommented, Jul 30, 2017

3.3 released and this feature is now available!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Declaring Your Actionable Notification Types - Apple Developer
Differentiate your notifications and add action buttons to the notification interface. ... Declare Your Custom Actions and Notification Types.
Read more >
How to add custom actions for iOS push and local notifications
Learn about actionable notifications that allow users to respond without launching the app. Learn how to create a category and its actions ......
Read more >
Custom Notification Actions | Actions Developer Guide
Send custom notifications to recipients via desktop or mobile channels. Before you send a custom notification, you must first create a notification type....
Read more >
Push Notifications by Tutorials, Chapter 9: Custom Actions
Notification categories allow you to specify up to four custom actions per category that will be displayed with your push notification. Keep in...
Read more >
Adding notification actions - iOS / Advanced - Batch
A great way to clean up your code is to use Custom Actions and link them to your action buttons. It allows you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found