does java-apns library work on google appengine?

383 views
Skip to first unread message

Kesava

unread,
Aug 22, 2011, 1:24:09 PM8/22/11
to Java client for Apple Push Notification service (APNs)
Hi,

Can I use this library on google appengine? javapns does NOT work
there since it uses bouncycastle security provider and google
appengine does not allow to set custom security providers. Does java-
apns library behaves the same?

Thanks
Neeli

Mahmood Ali

unread,
Aug 22, 2011, 1:30:50 PM8/22/11
to java-apn...@googlegroups.com
Greetings Neeli,

No APNs library can work on the Google App Engine. If running from GAE, you might want to check Urban Airship.

The real issue here is that the APNs protocol requires opening a direct TCP socket connection with a custom non-HTTP protocol. GAE doesn't support that.

This are known reported issues:
- http://code.google.com/p/googleappengine/issues/detail?id=347 -- Adding socket support
- http://code.google.com/p/googleappengine/issues/detail?id=1164 -- Adding support for Apple Push Notification Service

Regards,- Mahmood

Kesava

unread,
Aug 22, 2011, 2:46:12 PM8/22/11
to Java client for Apple Push Notification service (APNs)
Thanks for the quick response. I guessed it was the problem. The
appengine issue list is helpful. I guess I need to use urban airship
for now and have other alternative if our volumes are pretty high.

Thanks
Neeli

On Aug 22, 10:30 am, Mahmood Ali <mahm...@notnoop.com> wrote:
> Greetings Neeli,
>
> No APNs library can work on the Google App Engine. If running from GAE, you might want to check Urban Airship.
>
> The real issue here is that the APNs protocol requires opening a direct TCP socket connection with a custom non-HTTP protocol. GAE doesn't support that.
>
> This are known reported issues:
> -http://code.google.com/p/googleappengine/issues/detail?id=347-- Adding socket support
> -http://code.google.com/p/googleappengine/issues/detail?id=1164-- Adding support for Apple Push Notification Service
Reply all
Reply to author
Forward
0 new messages