tmolitor-stud-tu / mod_push_appserver

Simple and extendable appserver for XMPP pushes (aka. XEP-0357)
MIT License
25 stars 9 forks source link

Feature Request: multiple APNS types #4

Closed anurodhp closed 6 years ago

anurodhp commented 6 years ago

It would be nice to be able to run both sandbox and prod on the same server. Additionally, being able to run multiple APNS types on the same server would make things easier. APNS should probably actually be 3 different kinds with separate cert options.

  1. APNS-iOS-sandbox
  2. APNS-iOS-production
  3. APNS-macOS
tmolitor-stud-tu commented 6 years ago

This already implemented. Just define different prosody hosts having different options.

Something like "ios.push.monal.im" and "macos.push.monal.im".

Alternatively you could define different components on the same host, I think. Components can have their own config options, too.

See https://prosody.im/doc/components

tmolitor-stud-tu commented 6 years ago

I'll close this one.

If you have more questions, feel free to ask :)