mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 18:45:58 +08:00
fcm ios push badge
This commit is contained in:
@@ -300,6 +300,7 @@ func GetOfflinePushOpts(pushMsg *pbPush.PushMsgReq) (opts push.PushOpts, err err
|
||||
if pushMsg.MsgData.OfflinePushInfo != nil {
|
||||
opts.IOSBadgeCount = pushMsg.MsgData.OfflinePushInfo.IOSBadgeCount
|
||||
opts.IOSPushSound = pushMsg.MsgData.OfflinePushInfo.IOSPushSound
|
||||
opts.Data = pushMsg.MsgData.OfflinePushInfo.Ex
|
||||
}
|
||||
|
||||
return opts, nil
|
||||
|
||||
Reference in New Issue
Block a user