[Vortex] make APNS dispatcher push function reentrant

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

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

Loading...