[Vortex] make APNS dispatcher push function reentrant

Review Request #403 — Created Jan. 8, 2016 and submitted

tardypad
Lunr
tardypad:fix_apns_multiple_push
lunr
In case of consecutive calls to the push function, the tokens were
staying in the APNS dispatcher object and thus each new notification was
dispatched to all the previous devices as well
The token is now added to the payload directly, which is unique to each
push call

unit tests
example scripts

tardypad
pprkut
  1. uh, that's nasty. Would have never thought to look for a wrong API function...

  2. 
      
tardypad
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...