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

Separate Push Notification Setup From applicationDidFinishLaunching() #7

Closed
Chuckv01 opened this issue Jun 28, 2016 · 2 comments
Closed

Comments

@Chuckv01
Copy link
Contributor

On iOS we're getting permission prompts on first launch of apps requesting permission to send push notifications.

To improve user experience what do you think about moving registerForRemoteNotifications into its own function outside of applicationDidFinishLaunching(). That way we do not get these permission prompts on first run.

@robertarnesson
Copy link
Contributor

Yes definitively. e2ca65c looks ok?

@Chuckv01
Copy link
Contributor Author

Awesome! No longer seeing prompts on startup :) (I haven't tested the subscribe method yet)

miraten pushed a commit to gongdoc/cordova-plugin-firebase that referenced this issue Jun 27, 2019
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