bugs and push notification for create task

This commit is contained in:
jain
2023-07-24 15:10:59 +05:30
parent a2b4f3b758
commit ed28117a7f
6 changed files with 34 additions and 4 deletions

View File

@ -2,6 +2,7 @@
notification constants file
"""
REGISTRATION = 1
TASK_CREATED = 2
TEST_NOTIFICATION = 99
NOTIFICATION_DICT = {
@ -9,6 +10,10 @@ NOTIFICATION_DICT = {
"title": "Successfully registered!",
"body": "You have registered successfully. Now login and complete your profile."
},
TASK_CREATED: {
"title": "Task created!",
"body": "Task created successfully."
},
TEST_NOTIFICATION: {
"title": "Test Notification",
"body": "This notification is for testing purpose"