-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
我的使用安卓推送没有问题,但是使用ios推送,收不到自定义的消息,在后台历史推送里面也看不到
这是我的代码
auther := auth.Auther{AppID: "", SecretKey: ""}
pushReq, _ = req.NewPushReq(
&xinge.Request{},
req.Platform(xinge.PlatformiOS),
req.EnvDev(),
req.AudienceType(xinge.AdToken),
req.MessageType(xinge.MsgTypeNotify),
req.TokenList([]string{NotificationId}),
req.PushID("0"),
req.Message(xinge.Message{
Title: "",
Content: "",
Android: &xinge.AndroidParams{},
IOS: &xinge.IOSParams{},
}),
req.CustomContent(custom),
)
custom 是一个map[string]string
代码基本和安卓的一模一样
Metadata
Metadata
Assignees
Labels
No labels