On Jun 5, 2012, at 4:06 PM, howesc wrote: > i coworker wrote a stand-alone (not web2py) push server for a project - but > that's cause we are running our web2py on GAE and you can't create persistent > connects to the APNS. > > i'm not sure how to keep the connection open between requests in a web2py > instance. i suspect you'd have to have a long running process that collects > tasks from a queue to send notifications. (though if you only send 1 push > per hour it's probably ok to make a new connection each time).
It might be more convenient to use a third-party http-to-apns bridge. http://urbanairship.com has a basic plan with quite a bit of free volume. There others, I believe. > > good luck! > > cfh > > On Tuesday, June 5, 2012 7:01:00 AM UTC-7, bob wrote: > > I can send an email from within web2py but am wondering if anyone has > attempted to send an IOS notification and if so any pointers would be very > helpful. > > What the Apple Push Notification service is: > > > https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9 >