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

can i use firebase for iOS instead of APNS? #611

Closed
Bashar opened this issue Apr 15, 2021 · 2 comments
Closed

can i use firebase for iOS instead of APNS? #611

Bashar opened this issue Apr 15, 2021 · 2 comments
Labels

Comments

@Bashar
Copy link

Bashar commented Apr 15, 2021

I tried to comment out APNS parts from PUSH_NOTIFICATIONS_SETTINGS but it gave the error

You need to setup PUSH_NOTIFICATIONS_SETTINGS properly to send messages

is it possible to use firebase for IOS instead of APNS?

@AxelHgt
Copy link

AxelHgt commented Apr 29, 2021

Hi,
Yes you need to setup settings to make it work.
And the APNS part is not required.

Example:

PUSH_NOTIFICATIONS_SETTINGS = {
    'USER_MODEL': 'users.User',
    'FCM_API_KEY': os.environ.get('FCM_KEY'),
    'UPDATE_ON_DUPLICATE_REG_ID': True
}

@ayushin
Copy link

ayushin commented Jul 8, 2021

We do this:

#615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants