Toasts.Forms.Plugin
Toasts.Forms.Plugin copied to clipboard
Tapping on notification does not work on iOS
I have noticed an unusual bug for iOS where tapping on toast will only work for the first notification and never for any succeeding notifications. We are using Xamarin in our mobile app and the code works fine for Android.
`
var notificator = InjectionContainer.Instance.Resolve<IToastNotificator>();
var options = new NotificationOptions()
{
Description = message,
};
if (notification.Type != "Broadcast") options.IsClickable = true;
var result = await notificator.Notify(options);
if (result.Action == NotificationAction.Clicked) await HandleToastAction(notification)();
`
I tried the code on old iPhone 4 with iOS 9.3.5 and the toast notification does not even show up.