Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ferigis.132.implement feedback #142

Merged
merged 3 commits into from
Feb 10, 2017
Merged

Conversation

ferigis
Copy link
Member

@ferigis ferigis commented Feb 7, 2017

[close #132]

@ferigis ferigis added this to the 2.0.0 milestone Feb 7, 2017
README.md Outdated

## Feedback

`apns4erl` also allows us to get feedback for APNs service. It does it thru the [binary API](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html).
Copy link
Member

Choose a reason for hiding this comment

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

for APNs -> from APNs

%% Converts binary to hexadecimal string().
-spec bin_to_hexstr(binary()) -> string().
bin_to_hexstr(Binary) ->
L = size(Binary),
Copy link
Member

Choose a reason for hiding this comment

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

fix indentation

%% Converts from seconds to datetime.
-spec seconds_to_timestamp(pos_integer()) -> calendar:datetime().
seconds_to_timestamp(Secs) ->
calendar:gregorian_seconds_to_datetime(Secs + 62167219200).
Copy link
Member

Choose a reason for hiding this comment

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

put that number in a macro or at least a variable so everybody can understand what that is.

@harenson harenson merged commit de554d3 into master Feb 10, 2017
@harenson harenson deleted the ferigis.132.implement_feedback branch February 10, 2017 20:19
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.

Get Feedback from APNs
3 participants