Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone Push Notification Problem with Ad Hoc Provision

Tags:

The iPhone i'm developing with (building the application to, not installed via ad-hoc) receives push notifications as it should. I've got an application that just sends dummy push notifications on command, and the dev iphone receives them consistently. However, I've distributed a beta build under the release configuration to several co-workers, and none of these builds of the app have received a single push notification. I've confirmed that the app prompts the user on first run for permission to receive push notifications, and I've also confirmed that everyone has answered "yes" to this prompt. Has anyone else experienced this problem? I feel like it has something to do with provisioning, but the apple developer portal is so vague about things, I very well could be missing something important.

like image 404
jtrim Avatar asked Nov 09 '09 03:11

jtrim


People also ask

Can we receive push notifications in AdHoc certified test build?

AdHoc build receives no push notifications.

Why are my push notifications not working iPhone?

You can fix an iPhone that's not getting notifications by restarting it or making sure notifications are turned on. You should also make sure your iPhone is connected to the internet so apps can receive notifications. If all else fails, you should try resetting the iPhone — just make sure to back it up first.

What is ad hoc in iOS?

Ad hoc distribution lets you distribute internal builds to a maximum of 100 registered devices per device family per year. You can register a device in Apple's developer portal using the device's UDID.


1 Answers

Looks like I missed the part in apples push documentation where it states that apps distributed via ad-hoc use the apple production push gateway, not the apple dev push gateway. I was under the assumption that while developing the application, I always wanted to use the "development" push gateway...but that's what I get for using common sense.

like image 187
jtrim Avatar answered Oct 05 '22 22:10

jtrim