// apply the 'content-available:1' value:
if (pushMessage.isContentAvailable()) {
// 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