Adds apns2 library to send Apple Push Notifications
Updates options to include configuration for APNS delivery
Refactors the code to remove the server package
Notes
I realized the server abstraction wasn't really helping much. The API server and the XMTP Listener were really two separate concerns, so I broke them apart. This will make it easier to run the API and the listener as separate processes, since we can more easily validate configuration for one use-case or another. For example, I really don't need the APNS configuration to be well specified when only running the API server. And I don't need to configure a port when only running the listener.
Summary
apns2
library to send Apple Push Notificationsserver
packageNotes
I realized the server abstraction wasn't really helping much. The API server and the XMTP Listener were really two separate concerns, so I broke them apart. This will make it easier to run the API and the listener as separate processes, since we can more easily validate configuration for one use-case or another. For example, I really don't need the APNS configuration to be well specified when only running the API server. And I don't need to configure a port when only running the listener.