Skip to content
Commits on Oct 26, 2014
  1. Merge pull request #38 from do3meli/tls_support

    committed Oct 26, 2014
    migrated from SSL to TLS
Commits on Oct 23, 2014
  1. @do3meli

    migrated from SSL to TLS

    do3meli committed Oct 23, 2014
  2. Merge pull request #35 from ttsp/fixEmptyMessage

    committed Oct 23, 2014
    Empty message insertion
Commits on Jun 20, 2014
  1. @basilup
Commits on Feb 13, 2014
  1. Merge pull request #33 from NicolasMassart/master

    committed Feb 13, 2014
    Add ability to define sandbox or production environment at class construction
Commits on Oct 30, 2013
  1. @NicolasMassart
  2. Revert "Added environment (sandbox and production) support in the con…

    Nicolas MASSART committed Oct 30, 2013
    …structor"
    
    This reverts commit 9e9e9de.
Commits on Oct 25, 2013
  1. Merge pull request #31 from Bcow7/master

    committed Oct 25, 2013
    fix missing commas
  2. fix missing commas

    Florent Eherler committed Oct 25, 2013
Commits on Oct 19, 2013
  1. Merge pull request #23 from trevoriancox/master

    committed Oct 19, 2013
    Fix for iOS 5: Fix for multiple messages sent to one device after app reinstall.
  2. Merge pull request #26 from FloresRobles/master

    committed Oct 19, 2013
    Asynchronous register request (.m file)
  3. Merge pull request #28 from do3meli/patch-1

    committed Oct 19, 2013
    passphrase support added
  4. Merge pull request #30 from do3meli/master

    committed Oct 19, 2013
    appversion is now also updated in database
  5. @do3meli
Commits on Sep 20, 2013
  1. @do3meli

    passphrase support added

    do3meli committed Sep 20, 2013
Commits on Mar 11, 2013
  1. @FloresRobles

    Update Delegate.m

    FloresRobles committed Mar 10, 2013
  2. @FloresRobles

    Asynchronous register request

    FloresRobles committed Mar 10, 2013
    In order to avoid freezing the UI.
Commits on Oct 16, 2012
  1. @trevoriancox

    Support iOS 5+ deprecated UDID. With CFUUIDCreate, each time you inst…

    trevoriancox committed Oct 16, 2012
    …all your app you'll get a new deviceuid, but the token may be the same. You can end up with multiple entries for the same app, all with the same valid token. Database changes:
    
      CREATE UNIQUE INDEX `app_token` on apns_devices (`appname`,`devicetoken`);
    With this change, if a new UID is generated but the token is unchanged, update the uid in the database:
      ON DUPLICATE KEY UPDATE `deviceuid`='{$deviceuid}',
    Since it is now indexed, device token must be unique. This could be an issue if you store devices in the table that did not successfully get the token (or you reuse the table for non-iOS devices):
      ALTER TABLE apns_devices modify column devicetoken char(64) null;
    Do not hardcode 'production' - added config variable.
    Make _triggerError public so it can be used by apns.php etc.
Commits on Apr 10, 2012
  1. @peter-schmalfeldt

    Merge pull request #22 from NiNJAPiND/patch-1

    peter-schmalfeldt committed Apr 10, 2012
    When your app will update, there are some bugs. when iphone
  2. @peter-schmalfeldt

    Merge pull request #21 from ptekchand/master

    peter-schmalfeldt committed Apr 10, 2012
    Re-using sockets
Commits on Apr 4, 2012
  1. @NiNJAPiND

    When your app will update, there are some bugs. when iphone

    NiNJAPiND committed Apr 4, 2012
    register itself, sql has duplicate record: 
    1 "appname" 1.1 myiphone  (1.1 is the appversion)
    2 "appname" 1.2 myiphone 
    
    so notifications will be sent twice to "myiphone" device. 
    
    to resolve this, remove PRIMARY UNIQUE KEY into sql - appversion 
    record
Commits on Mar 22, 2012
  1. @ptekchand

    * The SSL Socket[s](production/sandbox) are shared amongst multiple n…

    ptekchand committed Mar 22, 2012
    …otifications.
    
    * Feedback service is only read once every batch.
    * Response from APNS is handled (select timeout gotcha)
    * Common loop helper _iterateMessages de-duplicates code in _fetchMessages and _flushMessages
    
    Previously a socket was connected and closed for each notification that was sent.
    Additionally, the feedback service was checked after every notification as well (which was another socket connection followed by a read). This is now called once after a batch has been sent.
    The response from APNS is also read and handled. It's read after every individual write ([warning]on a 1 second select timeout). Overall, the 'cost' of this read should easily be offset by the read on the feedback service which happens only once per batch.
    
    Plan further: keep a buffer around and write to the socket every time it reaches a certain size (32k?). This will amortize the read (response from APNS) across multiple notifications.
Commits on Mar 16, 2012
  1. @ptekchand
Commits on Feb 16, 2012
  1. Merge pull request #19 from davidevernizzi/master

    Manifest Interactive committed Feb 15, 2012
    Small bug fix + a couple of new features
Commits on Feb 15, 2012
  1. @davidevernizzi

    Corrected bug in switch + new features

    davidevernizzi committed Feb 15, 2012
    - corrected ; with : in swtich
    - added flush beside to fetch
    - added newMessageByDeviceUId
Commits on Feb 8, 2012
  1. Merge pull request #18 from gonecoding/master

    Manifest Interactive committed Feb 8, 2012
    Removed duplicate percent escaping for device name and model
  2. @gonecoding

    Changed encoding for the URL

    gonecoding committed Feb 8, 2012
    Changed the encoding of the EasyAPNS URL to 'NSUTF8StringEncoding' which is the encoding designated by RFC 2396 as the correct encoding for use in URLs.
  3. @gonecoding

    Removed percent escaping from device name and model

    gonecoding committed Feb 8, 2012
    Escaping the whole URL string has been escaping the device name and model twice leading to unwanted results
Commits on Jan 31, 2012
  1. Merge pull request #17 from gonecoding/master

    Manifest Interactive committed Jan 31, 2012
    Added percent escapes (aka URL encoding) to URL string
Commits on Jan 30, 2012
  1. @gonecoding

    Added percent escapes (aka URL encoding) to URL string

    gonecoding committed Jan 30, 2012
    Apps with characters not valid for an URL (e. g. Spaces) in their Bundle Display Name would fail to register with the APNS Easy server component.
Commits on Dec 14, 2011
  1. Merge pull request #15 from Monits/master

    committed Dec 14, 2011
    I missed this assignment in my previous pull request. Sorry!
  2. @jsotuyod
  3. Merge pull request #14 from Monits/master

    committed Dec 14, 2011
    Avoid the need to edit source files for each project using the library
Commits on Dec 10, 2011
  1. @jsotuyod
Something went wrong with that request. Please try again.