Skip to content

Commit

Permalink
add android notification
Browse files Browse the repository at this point in the history
  • Loading branch information
kish1n committed Sep 23, 2024
1 parent fe38abd commit 79d4157
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/service/workers/notificationdailyquestion/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ func sendingNotifications(toCreds string) {
},
},
},
Android: &messaging.AndroidConfig{
Priority: "high",
Notification: &messaging.AndroidNotification{
Title: "Daily Question",
Body: "The new daily question is finally available",
Tag: "daily-question",
},
},
}

fmt.Printf("%+v\n", msg)
Expand Down

0 comments on commit 79d4157

Please sign in to comment.