Skip to content

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Mar 22, 2018

Implements support for content-mutable option in APNS messages.

type Aps struct {
  ContentMutable bool
  CustomData    map[string]interface{}
}

apsAlias: (*apsAlias)(a),
}

func (a *Aps) standardFields() map[string]interface{} {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to add a short comment for this function and mention that it doesn't include CustomData.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@hiranya911 hiranya911 assigned hiranya911 and unassigned bklimt Apr 5, 2018
@hiranya911 hiranya911 merged commit 1b20f5a into dev Apr 6, 2018
@hiranya911 hiranya911 deleted the hkj-fcm-apns branch April 13, 2018 19:01
hiranya911 added a commit that referenced this pull request Apr 17, 2018
* Changlog updates (#123)

* Reading FCM error code from details section (#127)

* Adding additional details to the error message when available (#129)

* Implementing support for APNS content-mutable field (#126)

* Implementing support for APNS content-mutable field

* Corrected the mutable-content option name

* Renamed CustomFields to CustomData

* Added comment

* Implementing Functions to Test Error Codes (#131)

* Adding error codes to the auth package

* Added error codes for messaging

* Responding to review feedback; Updated changelog

* Add Go import comments. (#132)

* Bumped version to 2.7.0 (#133)

* Bumped version to 2.7.0

* Updated changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants