This requires calling /addpsp again, and providing bundleid in addition
to pre-existing parameters.
This will be the same PSP, and subscriptions will be unaffected
Aside: If calling /addpsp, all fields must be provided again.
E.g. for staging/debug(sandbox) applications, sandbox=true must be provided yet again.
It would currently be difficult (inconvenient, and possibly backwards incompatible, but not impossible)
to migrate old subscribers from cert/key to p8
without further changes to the way FixedData is hashed,
p8 would be currently be treated as a completely different PSP with a different subscriber set
Store the bundleid in VolatileData, so that the computed hash of the PSP
remains the same, and existing subscriptions will work.
If multiple apps ever have the same certificate/key
data but different bundle ids, then give them different service names or different paths
(to files with identical certificate contents)
Fix test failures, still need to allow requests to specify http2
allow specifying uniqush.http2=1 in query params for per-request APNS override
(Later, when this is well tested and performance change is known,
this may be in a config or always done when bundleid is known)
allow multiple APNS HTTP2 PSPs with different certificates
(With the p8 approach, that wouldn't be a problem, but with client
certificates, it is)
Finish getting the HTTP2 protocol to work
Disable IdleTimeout (the same as GCM). Timing out after 90 seconds would make latency unpredictable, and may cause errors when pushes are infrequent or sporadic.
Bug fixes:
Fix unsubscribing with the http2 provider, make it send the same Status (STATUS8_UNSUBSCRIBE) as the binary provider would
Change timestamp to be an int64 - Some responses failed to unserialize because the timestamp couldn't be converted from a number to a string in the struct.
This requires calling /addpsp again, and providing bundleid in addition to pre-existing parameters.
/addpsp
, all fields must be provided again. E.g. for staging/debug(sandbox) applications,sandbox=true
must be provided yet again.It would currently be difficult (inconvenient, and possibly backwards incompatible, but not impossible) to migrate old subscribers from cert/key to p8
Store the bundleid in VolatileData, so that the computed hash of the PSP remains the same, and existing subscriptions will work.
If multiple apps ever have the same certificate/key data but different bundle ids, then give them different service names or different paths (to files with identical certificate contents)
https://stackoverflow.com/questions/2575552/can-i-change-the-bundle-identifier-in-my-app-after-its-been-approved
Fix test failures, still need to allow requests to specify http2
allow specifying uniqush.http2=1 in query params for per-request APNS override (Later, when this is well tested and performance change is known, this may be in a config or always done when bundleid is known)
allow multiple APNS HTTP2 PSPs with different certificates (With the p8 approach, that wouldn't be a problem, but with client certificates, it is)
Finish getting the HTTP2 protocol to work
Disable IdleTimeout (the same as GCM). Timing out after 90 seconds would make latency unpredictable, and may cause errors when pushes are infrequent or sporadic.
Bug fixes:
int64
- Some responses failed to unserialize because the timestamp couldn't be converted from a number to a string in the struct.