APNS Sending Frequent Notifications to Device

Posted by user564447 on Stack Overflow See other posts from Stack Overflow or by user564447
Published on 2011-01-07T23:06:05Z Indexed on 2011/01/08 20:54 UTC
Read the original article Hit count: 199

I'm trying to mimic a pager with my app by sending push notifications to the user until he or she responds. My thought was to send a push every few seconds and play the default sound on arrival. Not perfect, but better than nothing.

It's working all right. However, I am finding that the sound starts to stutter/interrupt a bit after a few notifications have been sent -- as if it's trying to play the sound more than once. This happens even if I only send the push every 10 seconds. I just tested it at 20 second intervals and even then it starts to sound interrupted after about 10 times.

Any idea how to resolve this so each message plays the sound crisply?

p.s. Testing performed on an iPad.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad