Length check on badge & sound for PublishAPNS