Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tapping on notification does not work on iOS #161

Open
amalwankar opened this issue Jul 9, 2018 · 1 comment
Open

Tapping on notification does not work on iOS #161

amalwankar opened this issue Jul 9, 2018 · 1 comment

Comments

@amalwankar
Copy link

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
Copy link
Author

amalwankar commented Jul 9, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant