Toasts.Forms.Plugin icon indicating copy to clipboard operation
Toasts.Forms.Plugin copied to clipboard

Tapping on notification does not work on iOS

Open amalwankar opened this issue 6 years ago • 1 comments

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)();

`

amalwankar avatar Jul 09 '18 14:07 amalwankar

I tried the code on old iPhone 4 with iOS 9.3.5 and the toast notification does not even show up.

amalwankar avatar Jul 09 '18 15:07 amalwankar