feat(grpc): support category, alert and badge for ios. (#321)
This commit is contained in:
@@ -26,6 +26,13 @@ func main() {
|
||||
Platform: 2,
|
||||
Tokens: []string{"1234567890"},
|
||||
Message: "test message",
|
||||
Badge: 1,
|
||||
Category: "test",
|
||||
Alert: &proto.NotificationRequest_Alert{
|
||||
Title: "Test Title",
|
||||
Body: "Test Alert Body",
|
||||
Subtitle: "Test Alert Sub Title",
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatalf("could not greet: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user