arashnorouzi / Moon-APNS

A free open source c# library for sending Apple Push Notifications in any .net application.
http://arashnorouzi.wordpress.com
90 stars 45 forks source link

Invalid device token length, possible simulator entry #10

Open bhavyaWadhwa opened 12 years ago

bhavyaWadhwa commented 12 years ago

I am gettin error "Invalid device token length, possible simulator entry" whie using MoonAPNS library.I am unable to send MDM payload not aps payload by using MoonAPNS library.please help....

i have the key UDID,Token,Push Magic and UnlockToken and their values also. but when i tried to send var payload1 = new NotificationPayload("Device token","Message",Badge,"Sound");

Device Token = UDID or Token then its showing error Invalid device token length, possible simulator entry in SendQueueToapple(IEnumerable queue) method.

Please resolve my issue as soon as possible. Please help me.