Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

2.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@adobkin adobkin released this 18 Nov 05:40
· 19 commits to master since this release

This release is focused on internal improving, improving the performance, adding new features and fixing errors. For detailed information see README file.

Version 2.0 isn't compatible with 1.0

Added

  • Added an apn-pusher. apn-pusher is simple command line tool to send push
    notifications to iOS and OS X devices.
  • Added support a .p12 file instead of a certificate and a private key. Use
    apn_set_pkcs12_file() to specify the path to a .p12 file.
  • Logging. For logging specify log level and pointer to callback-function using
    apn_set_log_level() and apn_set_log_callback().
  • Added apn_array wrapper instead of C array.
  • Added apn_send2() function. This function automatically establishes new connection to
    APNs when connection is dropped. The function establishes new connection to APNs only
    when invalid token has been sent, otherwise new connection will not be established.

Changed

  • Model of errors-handling was changed, error code is stored in errno.
  • Changed internal representation of notifications. Notification is stored in binary
    format.
  • Changed internal representation of notifications. Notification is stored in binary format.
    See apn_binary_message_*() functions
  • Increased the maximum size for notifications to 2 kilobytes.