Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modify payload size from 2048 bytes to 4096 bytes? #239

Open
sahibzadafahad99 opened this issue Nov 2, 2018 · 1 comment
Open
Labels

Comments

@sahibzadafahad99
Copy link

I want to install uniqush from docker build and also want to change payload size from 2048 to 4096 bytes. I need payload size 4096 bytes inside docker container, can any one please guide me how can i change it ?

@sahibzadafahad99 sahibzadafahad99 changed the title How we will modify payload size from 2048 bytes to 4096 bytes? How to modify payload size from 2048 bytes to 4096 bytes? Nov 2, 2018
@TysonAndre
Copy link
Contributor

To increase the maximum APNS payload size from 2048 to 4096, you must use apple's APNS protocol instead of the binary protocol. By default, the binary protocol is used.

  1. you must add bundleid=com.myapp to the query params in a call to /addpsp (Where your app build's bundleid for that environmentis com.myapp).
  2. Every time you send a push with /push, pass uniqush.http2=1

More details are found in #157 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants