Skip to content

ios 通知不支持Json Object #4

Description

@greegroup

ios Notice Alert 不支持Json Object, 无法定义loc_key。

type IOSNotice struct {
	Alert            string                 `json:"alert"`
	Sound            string                 `json:"sound,omitempty"`
	Badge            int                    `json:"badge,omitempty"`
	ContentAvailable bool                   `json:"content-available,omitempty"`
	Category         string                 `json:"category,omitempty"`
	Extras           map[string]interface{} `json:"extras,omitempty"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions