// content-available:1 is (with iOS7) not only used
// Newsstand, however 'notnoop' names it this way (legacy)...
builder = builder.forNewsstand();
}
builder = builder.customFields(pushMessage.getData()); // adding other (submitted) fields
// we are done with adding values here, before building let's check if the msg is too long
if (builder.isTooLong()) {
logger.log(Level.WARNING, "Nothing sent to APNs since the payload is too large");
// invoke the error callback and return, as it is pointless to send something out