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

Export apns:default_connection/0 to allow key file password to be added,... #28

Merged
merged 1 commit into from
Sep 3, 2014

Commits on Sep 3, 2014

  1. Export apns:default_connection/0 to allow key file password to be add…

    …ed, e.g.
    
    %% Pull password from e.g. sys.config here
    ConnectionProfile = (apns:default_connection())#apns_connection{cert_password=Password, error_fun=fun ?MODULE:handle_apns_error/2, feedback_fun=fun ?MODULE:handle_apns_feedback/2},
    Connection = apns:connect(apns_connection, ConnectionProfile)
    
    It's this approach vs. modifying default_connection/0 directly.  This is the least intrusive.
    Robin Macharg committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    195e2b4 View commit details
    Browse the repository at this point in the history