Closed GoogleCodeExporter closed 8 years ago
I just run it again and noticed that I am getting this error
Position = 'apnsStream.Position' threw an exception of type
'System.NotSupportedException'
Original comment by mtun...@gmail.com
on 17 Aug 2009 at 9:07
If recd is 0 that means the server isn't sending any data and the connection
should be
closed. As per apple's specifications, you won't get any response from the
server if
there is no feedback. The server will close the connection.
Original comment by jond...@gmail.com
on 27 Aug 2009 at 3:08
Original comment by jond...@gmail.com
on 22 Dec 2009 at 5:41
Hello everybody. I've installed on my iPhone ad-hoc version, so it means
distribution
one. I've downloaded apns-shart library and tried to test push notifications on
that. I
have all necessary certificates. I've succeeded to push notifications using
test
notification project and with this everything is fine. My problem is: when I've
tried
to use test feedback project it fetched needed device tokens, but when I've
tried to
launch it second time, it return 0 bytes. What ca I do to fix the problem.
Original comment by arturkyu...@gmail.com
on 1 May 2010 at 8:40
0 bytes means that there was nothing from the feedback server. Often the
feedback server will not send out a
UDID until you've tried sending it notifications a few times after that UDID
does not want them anymore...
Original comment by jond...@gmail.com
on 2 May 2010 at 8:05
Hi all!
I had same problem, to fix it add this try-catch sentence at the end of "Run()"
method in the file FeedbackService.cs
try {
//Clear our array to reuse it
Array.Clear(buffer, 0, buffer.Length);
//Read the next feedback
recd = apnsStream.Read(buffer, 0, buffer.Length);
}
catch (Exception ex) {
recd = 0;
}
Original comment by mac.alb...@gmail.com
on 17 Dec 2011 at 8:16
Hi All,
Feedback server is return always recd is 0, if anyone can resolve this issue please let me know.
Original comment by mahesh.s...@gmail.com
on 28 Jan 2015 at 6:21
Original issue reported on code.google.com by
mtun...@gmail.com
on 17 Aug 2009 at 9:01