-
Notifications
You must be signed in to change notification settings - Fork 33
Notifications Phase 1: Subscription #153
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
Notifications Phase 1: Subscription #153
Conversation
| # OneSignal Config | ||
| ONESIGNAL_USER_AUTH_KEY = environ.get("PACKET_ONESIGNAL_USER_AUTH_KEY", None) | ||
| ONESIGNAL_APP_AUTH_KEY = environ.get("PACKET_ONESIGNAL_APP_AUTH_KEY", None) | ||
| ONESIGNAL_APP_ID = environ.get("PACKET_ONESIGNAL_APP_ID", "6eff123a-0852-4027-804e-723044756f00") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test ID that only works on localhost:6969 for testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to note that in a line comment then. It'd help us track what is needed for local testing.
|
|
||
| <!-- Push Notifications --> | ||
| <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script> | ||
| <script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As much as possible from this will be moved into a notifications.js file in Phase 2
94d10c1 to
9945dfb
Compare
9945dfb to
ee28245
Compare
| # OneSignal Config | ||
| ONESIGNAL_USER_AUTH_KEY = environ.get("PACKET_ONESIGNAL_USER_AUTH_KEY", None) | ||
| ONESIGNAL_APP_AUTH_KEY = environ.get("PACKET_ONESIGNAL_APP_AUTH_KEY", None) | ||
| ONESIGNAL_APP_ID = environ.get("PACKET_ONESIGNAL_APP_ID", "6eff123a-0852-4027-804e-723044756f00") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to note that in a line comment then. It'd help us track what is needed for local testing.
Allow users to subscribe to notifications and store the subscriptions in our database