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 disable push notification request (ios) #1364

Closed
1 task done
fury21 opened this issue Feb 3, 2024 · 1 comment
Closed
1 task done

[question]: How to disable push notification request (ios) #1364

fury21 opened this issue Feb 3, 2024 · 1 comment

Comments

@fury21
Copy link

fury21 commented Feb 3, 2024

How can we help?

Every time the application is launched, I see a request to send push notifications alert.

If I delete the line "OneSignal.initialize(AppData.API.oneSignalAppID, withLaunchOptions: launch Options)", then the request is terminated.

How do I disable this request when starting the application? I want to do it on my onboarding screen

OneSignal v. 5.1.0

Code of Conduct

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

fury21 commented Feb 4, 2024

It's happened when i call OneSignal.User.pushSubscription.optIn()

@fury21 fury21 closed this as completed Feb 4, 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