Skip to content

Commit

Permalink
BW-681 #comment suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piya99 committed Jan 31, 2020
1 parent 998df4b commit 81605cf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/utils/push-notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class PushNotification {
if (gameObj.GameStatus === GameStatus.WAITING_FOR_FRIEND_INVITATION_ACCEPTANCE
|| gameObj.GameStatus === GameStatus.WAITING_FOR_RANDOM_PLAYER_INVITATION_ACCEPTANCE) {
msgText =
`Your bitwiser game Invitation from ${dbUser.displayName} will expire in 8 hours, Accept Invite!`;
`Your game play invitation from ${dbUser.displayName} will expire in 8 hours. Accept the challenge and play now!`;
} else {
msgText = 'Your bitWiser game will expire in 8 hours, play now!';
}
Expand Down
14 changes: 13 additions & 1 deletion scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,21 @@ duration : 1 min

2) Before game over - 8 hr : "game-time-reminder-notification/480"
duration : 1 min

3) Game over : "check-game-expired-and-set-game-over"
duration : 1 min

4) invitation expire : "game-invitation-expire"
duration : 5 min

5) no game play for 32 days : "no-game-play-32days"
duration : 30 min
duration : 30 min

6) change player turn : "turn"
duration : 30 min

7) add lives in account : "add-lives"
duration : 30 min

8) blog : "blog"
duration : 4 hr

0 comments on commit 81605cf

Please sign in to comment.