{"action":"opened","issue":{"url":"https://api.github.com/repos/fernandospr/javapns-jdk16/issues/2","labels_url":"https://api.github.com/repos/fernandospr/javapns-jdk16/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fernandospr/javapns-jdk16/issues/2/comments","events_url":"https://api.github.com/repos/fernandospr/javapns-jdk16/issues/2/events","html_url":"https://github.com/fernandospr/javapns-jdk16/issues/2","id":114013761,"number":2,"title":"Total payload size exceeds allowed limit","user":{"login":"jayeatworld","id":2397871,"avatar_url":"https://avatars.githubusercontent.com/u/2397871?v=3","gravatar_id":"","url":"https://api.github.com/users/jayeatworld","html_url":"https://github.com/jayeatworld","followers_url":"https://api.github.com/users/jayeatworld/followers","following_url":"https://api.github.com/users/jayeatworld/following{/other_user}","gists_url":"https://api.github.com/users/jayeatworld/gists{/gist_id}","starred_url":"https://api.github.com/users/jayeatworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayeatworld/subscriptions","organizations_url":"https://api.github.com/users/jayeatworld/orgs","repos_url":"https://api.github.com/users/jayeatworld/repos","events_url":"https://api.github.com/users/jayeatworld/events{/privacy}","received_events_url":"https://api.github.com/users/jayeatworld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-29T09:44:42Z","updated_at":"2015-10-29T09:44:42Z","closed_at":null,"body":"I thought this fork version of javapns would allow 2KB payloads? Is there a new way of sending push so it'll bypass the payload size?\r\n\r\nI'm sending via:\r\nPush.payload(payload, keystore, password, isProduction, threads, devices);\r\n\r\njavapns.notification.exceptions.PayloadMaxSizeExceededException: Total payload size exceeds allowed limit (payload is 486 bytes, limit is 256)\r\n\tat javapns.notification.Payload.validateMaximumPayloadSize(Payload.java:252)\r\n\tat javapns.notification.Payload.getPayloadAsBytes(Payload.java:140)\r\n\tat javapns.notification.PushNotificationManager.getMessage(PushNotificationManager.java:558)\r\n\tat javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:381)\r\n\tat javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:350)\r\n\tat javapns.notification.transmission.NotificationThread.runList(NotificationThread.java:228)\r\n\tat javapns.notification.transmission.NotificationThread.run(NotificationThread.java:199)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n"}}