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

[question]: How to trigger iOS prompt for Critical Alerts? #106

Closed
1 task done
T-T-P opened this issue May 13, 2024 · 1 comment
Closed
1 task done

[question]: How to trigger iOS prompt for Critical Alerts? #106

T-T-P opened this issue May 13, 2024 · 1 comment

Comments

@T-T-P
Copy link

T-T-P commented May 13, 2024

How can we help?

I am currently triggering the iOS (and android) prompt from .NET MAUI by using the method

await OneSignal.Notifications.RequestPermissionAsync(true);

This allows the user to approve 'normal' push notifications however it does not allow triggering of the special prompt for Critical Alerts to be accepted, is there a way of triggering this prompt using the current OneSignal-DotNet-SDK (I have obtained relevant entitlements from Apple)?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@T-T-P
Copy link
Author

T-T-P commented May 13, 2024

Turns out the solution is to write your own native implementation and call that directly after you have gained the original OneSignal permission.

@T-T-P T-T-P closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
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