Closed GoogleCodeExporter closed 9 years ago
Just to verify... you are asking that the Device Token length be checked when
the Token is passed to the Device object?
Added to 1.6.8
Original comment by idb...@pugetworks.com
on 24 May 2011 at 9:32
Yes and Thanks
Original comment by Austin.France
on 24 May 2011 at 11:13
Even though the javapns.data.Device (1.x) and
javapns.devices.implementations.basic.BasicDevice (2.0) constructors do
validate the token format, it is possible to pass a custom implementation of
Device which would bypass the constructor-level validation.
I have improved the token validation in the 2.0 branch so that
PushNotificationManager always validates the token in sendNotification(...).
The fix will be in my next commit.
Original comment by sype...@gmail.com
on 7 Sep 2011 at 3:59
Original issue reported on code.google.com by
Austin.France
on 24 May 2011 at 3:14