Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Feature/Question: Is it possible to have more control over push notifications prompt #165

Closed
cmermingas opened this issue Oct 11, 2016 · 2 comments
Milestone

Comments

@cmermingas
Copy link

I chose the messaging feature when I installed this plugin and when I run the app for the first time, it asks if want to allow push notifications. I think this is done in firebase.init()

I would prefer to show this prompt as part of an onboarding process or just when my users are going to use a feature that requires notifications for the first time.

Is it possible to control when this prompt happens? If not, maybe a feature to consider?

Thanks a lot!

@EddyVerbruggen
Copy link
Owner

I certainly agree. It's the line containing registerForRemoteNotifications that's causing this prompt.

EddyVerbruggen added a commit that referenced this issue Oct 21, 2016
@EddyVerbruggen
Copy link
Owner

I've just pushed quite a complex change to this GitHub repo that allows you to control when the prompt is shown.

Check this updated chapter.

I'm not pushing to npm right away because I'd like this to be tested a bit first.

@EddyVerbruggen EddyVerbruggen added this to the 3.7.2 milestone Nov 8, 2016
EddyVerbruggen added a commit that referenced this issue Apr 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants