-2

Is there a minimum payload size for the push notification service for the various mobile platforms like Android, iOS, Blackberry and Windows Phone 7?

I want to know if I were to send a very short message, would it be rejected.

Thanks, Hend

Hend
  • 589
  • 5
  • 15
  • 35

2 Answers2

2

From Apples documentation of push notification

The maximum size allowed for a notification payload is 256 bytes; Apple Push Notification Service refuses any notification that exceeds this limit.

Anything over 256 bytes, your are off..Anything less no problem..Not sure about other platforms

Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
1

For WP7 (from MSDN):

The maximum size of a notification is 1 KB for the header and 3 KB for the payload. Notifications exceeding these limits will be discarded and a WebException with a status of WebExceptionStatus.ProtocolError will be raised

Link: http://msdn.microsoft.com/en-us/library/ff402558(v=VS.92).aspx

EDIT: Just reread the question and realised you were asking for a minimum. Don't really know why you would be interested in that but there is no minimum in WP7.

calum
  • 1,580
  • 10
  • 11