snnagar / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Not able to receive Push Notification on iPhone when we disable the Sandbox account and run the application on distribution mode. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I made bool sandbox = false;
2. I generated a certificate for the Distribution account
3. But when I try to send the Push Notification, I never received it.

Please let me know the steps to run the Push Notification on Distribution 
server. I am able to run the Push Notification on Sandbox environment but 
not on Live Environment.

Waiting for the reply.

Original issue reported on code.google.com by get.goya...@gmail.com on 5 Feb 2010 at 10:32

GoogleCodeExporter commented 9 years ago
In addition to above mentioned issue, please let me know how can I run and test 
the 
AppStore Code for Push Notification. Please let me know as soon as possible.

Thanks.

Original comment by get.goya...@gmail.com on 8 Feb 2010 at 12:04

GoogleCodeExporter commented 9 years ago
Be sure you are using a Production certificate for Push Notifications.  Also be 
sure 
you have a valid device token from the Distribution built app, this is very 
important.

Original comment by jond...@gmail.com on 25 Feb 2010 at 4:25

GoogleCodeExporter commented 9 years ago
One thing I noticed when switching between Development and Distribution is the 
following:

1)  Compile using the Distribution key and not the Developer key then install 
the 
app to the iPhone

2)  The Device Tolken will be different between the 2 different compiled apps 
on the 
same iPhone for Distribution and Developer, so be sure to send notification to 
the 
appropriate server ie sandbox or production depending on which target you have 
on 
the iPhone and with the correct Device Tolken that was generated on the iPhone 
for 
Dist/Dev.

3)  Be sure to use the correct cert for signing into the sandbox/dev or 
production/dist keys when sending the message to the APN servers.

Hopefully this helps clarify some things.  Pretty much elaborates on what 
jodick 
said above.

Original comment by Johnson...@gmail.com on 3 Mar 2010 at 11:24

GoogleCodeExporter commented 9 years ago
Nothing to fix.

Original comment by jond...@gmail.com on 27 Mar 2010 at 6:41

GoogleCodeExporter commented 9 years ago
I am facing the same problem.

I am able to get notifications using developer certificate and i am unable to 
get notifications using Distribution adhoc certificate

I am sure that i followed the above steps mentioned by JohnsonOps.

I am getting the error "Unable to write data to the transport connection: An 
established connection was aborted by the software in your host machine." 
[Please find the attached screenshot]

Can any one help me to solve.

FYI, I am using following environment
For iPhone App: 
1. Mac OS X 10.6.4 
2. Xcode 3.2.3

For JdsoftApp:
Windows 7
VSTS 2008

Thanks in Advance.

Original comment by santoshs...@gmail.com on 9 Jul 2010 at 1:13

Attachments: