-->

IBM Worklight 5.0.6.1 - Push Notification through

2019-09-14 21:45发布

问题:

I would like to use a proxy server for push notification. In worklight.properties, how to specify username and password for APNS?

#   Push GCM proxy settings
#push.gcm.proxy.enabled=false
# protocol may be either http or https
#push.gcm.proxy.protocol=
#push.gcm.proxy.host=
# negative value means default port
#push.gcm.proxy.port=-1
#push.gcm.proxy.user=
#push.gcm.proxy.password=

#   Push APNS proxy settings
#push.apns.proxy.enabled=false
# only SOCKS proxy is supported at the moment
#push.apns.proxy.type=SOCKS
#push.apns.proxy.host=
#push.apns.proxy.port=

回答1:

Okay, I've checked.

For Push Notifictions Worklight uses notnoop. The current version bundled in Worklight does not have username/password support in APNS proxy (which is of type SOCKS and I am not sure if it at all supports this method, either). It does not exist in the bundled version.

Note: it is not possible to upgrade notnoop in Worklight, it is integrated within.