OneSignal-iOS-SDK
OneSignal-iOS-SDK copied to clipboard
[question]: Provisional notifications and optIn/optOut
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
- [X] I agree to follow this project's Code of Conduct