question

Vic-3381 avatar image
0 Votes"
Vic-3381 asked cameronboyle-2751 edited

Custom Buttons in Notification when notification received in background and killed mode.

I need to add custom buttons with notification title and body. How can I add notification buttons and on clicking on those buttons I need to perform certain actions such as API call and navigation.

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you want to achieve the custom notification like this thread? https://stackoverflow.com/questions/46862583/android-notification-button-addaction-to-make-a-toast-message-when-pressed

If so, you can add AddAction(Resource.Drawable.tick_notify, "ARCHIVE", contentIntent) to the android notification, If not, share a screenshot about your needs. And I am confused about notification received in background and killed mode? If you notification is not FCM or other remote notification, you cannot recieve notification when application was killed.

0 Votes 0 ·

0 Answers