Home > Enterprise >  Xamarin Forms crossplatform local notifications with action buttons
Xamarin Forms crossplatform local notifications with action buttons

Time:10-04

I am developing a Xamarin.Forms app for Android and iOS that needs to do crossplatfom local notifications with actions from a background service that I am running.

I have figured out how to do xamarin and not platform based local notifications but I can't seem to figure out how to implement action buttons for local notifications so that i can act according to them.

I am very thankful and appreciative for any help or advice given.

CodePudding user response:

In Android, the notification's layout is RemoteViews, you can use setCustomContentView to customize the notification view. In IOS, you can do it by adding custom UI.

CodePudding user response:

It seems that I have found a Crossplatform way to implement notification actions with the following notification plugin

Plugin.LocalNotification

  • Related