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]: Provisional notifications and optIn/optOut #1502

Open
1 task done
yevgenPaykey opened this issue Oct 18, 2024 · 0 comments
Open
1 task done

[question]: Provisional notifications and optIn/optOut #1502

yevgenPaykey opened this issue Oct 18, 2024 · 0 comments

Comments

@yevgenPaykey
Copy link

How can we help?

I'd like to know what is the proper way to opt in/out when provisional push notifications are activated.
Once user opts out and then opts in user sees native push notification permission request which is not the good UX. I'd like user to remain on provisional permission after opting in.
I've tried to run optIn via rest api (to avoid having permission popup) but get an error:
{"errors":[{"code":"subscription-7","title":"Subscription can't be enabled due to an error reported by the SDK. Check notification_type value for a specific reason code"}]}%

Code of Conduct

  • I agree to follow this project's Code of Conduct
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