Permalink
Commits on May 28, 2016
  1. Update README.md

    committed May 28, 2016
  2. Update README

    committed May 28, 2016
Commits on Oct 26, 2014
  1. Merge pull request #38 from do3meli/tls_support

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

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

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

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

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

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

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

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

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

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

    appversion is now also updated in database
    committed Oct 19, 2013
Commits on Sep 20, 2013
  1. passphrase support added

    do3meli committed Sep 20, 2013
Commits on Mar 11, 2013
  1. Update Delegate.m

    FloresRobles committed Mar 11, 2013
  2. Asynchronous register request

    In order to avoid freezing the UI.
    FloresRobles committed Mar 11, 2013
Commits on Oct 16, 2012
  1. Support iOS 5+ deprecated UDID. With CFUUIDCreate, each time you inst…

    …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.
    trevoriancox committed Oct 16, 2012
Commits on Apr 10, 2012
  1. Merge pull request #22 from NiNJAPiND/patch-1

    When your app will update, there are some bugs. when iphone
    peter-schmalfeldt committed Apr 10, 2012
  2. Merge pull request #21 from ptekchand/master

    Re-using sockets
    peter-schmalfeldt committed Apr 10, 2012
Commits on Apr 4, 2012
  1. When your app will update, there are some bugs. when iphone

    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
    NiNJAPiND committed Apr 4, 2012
Commits on Mar 22, 2012
  1. * The SSL Socket[s](production/sandbox) are shared amongst multiple n…

    …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.
    ptekchand committed Mar 22, 2012
Commits on Mar 16, 2012
Commits on Feb 16, 2012
  1. Merge pull request #19 from davidevernizzi/master

    Small bug fix + a couple of new features
    Manifest Interactive committed Feb 16, 2012
Commits on Feb 15, 2012
  1. Corrected bug in switch + new features

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

    Removed duplicate percent escaping for device name and model
    Manifest Interactive committed Feb 8, 2012
  2. Changed encoding for the URL

    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.
    gonecoding committed Feb 8, 2012
  3. Removed percent escaping from device name and model

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

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

    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.
    gonecoding committed Jan 30, 2012
Commits on Dec 14, 2011
  1. Merge pull request #15 from Monits/master

    I missed this assignment in my previous pull request. Sorry!
    committed Dec 14, 2011