Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

samcraig

macrumors P6
Original poster
Jun 22, 2009
16,786
41,983
USA
Perhaps this already occurred to others... but if you have the same app on both your iPhone and iPad - how would the server know which device to ping it to. Maybe a developer can explain whether or not a push notification is device based which I believe it is or via log in account.

For example - I have FB on both devices. If I get a new msg - does facebook "know" to send to both devices and/or can it? Or does it send to just the iPhone.. or does the entire message get lost because there are two devices and the push notification gets "confused"

Could this be why people are experiencing the lack of push for gmail?

Just curious
 
Gmail has push? I don't think you can get push gmail unless you use exchange server or own an android device. My MobileMe pushes to both my iPhone and iPad without any issues. However, I do have some reservations about other apps so I turn off push for iPad apps that I also use for my iPhone.
 
Gmail has push? I don't think you can get push gmail unless you use exchange server or own an android device. My MobileMe pushes to both my iPhone and iPad without any issues. However, I do have some reservations about other apps so I turn off push for iPad apps that I also use for my iPhone.

I get push gmail on my iphone - but I'm also a gmail enterprise customer (our domain is via gmail). But not so on my iPad
 
Push is done via unique device token, not by any sort of "account":

registration_sequence.jpg


http://developer.apple.com/iphone/l...tml#//apple_ref/doc/uid/TP40008194-CH100-SW12

http://developer.apple.com/iphone/l...html#//apple_ref/doc/uid/TP40008194-CH101-SW1

Notifications go to the device that registered with APNS. In your example, facebook would have to send notifications to all devices that registered with APNS.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.