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

Opt-out with the module #46

Open
clemblanco opened this issue Sep 4, 2017 · 1 comment
Open

Opt-out with the module #46

clemblanco opened this issue Sep 4, 2017 · 1 comment

Comments

@clemblanco
Copy link

Is there any way of opting-out for push notification by using the module and without telling our users to go into their settings?

@williamrijksen
Copy link
Owner

@ClayMM This option could be developed by reading out the PermissionSubscriptionState. For now, this titanium module uses the promptForPushNotificationsWithUserResponse as you can see in the ComWilliamrijksenOnesignalModule.m file. This method is deprecated so we should change it into get PermissionSubscriptionState.

Reference: https://documentation.onesignal.com/docs/ios-native-sdk#section-registering-push

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

2 participants