simplex-chat / simplexmq

⚙️ SimpleXMQ - A reference implementation of the SimpleX Messaging Protocol for simplex queues over public networks.
https://simplex.chat
GNU Affero General Public License v3.0
428 stars 49 forks source link

ntf server ? #785

Open ludetie opened 1 year ago

ludetie commented 1 year ago

Hello,

How to use, configure the ntf server and incorporate it with the smp server, the xftp server and simplex-chat ? I don't find doc about it.

Thank you for your help.

ghost commented 1 year ago

Check this out. I think it's a notification server.

https://github.com/simplex-chat/simplexmq/blob/stable/rfcs/done/2022-03-22-nofication-server.md

epoberezkin commented 1 year ago

You cannot unfortunately self-host NTF server as it requires having our private key to push to iOS app. You can only use it if you make your own fork of the iOS app and have a different private key from Apple.

Apple allows self-hosted push servers to push to managed devices - in theory, it's possible even for small teams of 10-15 people - we are considering adding support for such servers in the app if there will be sufficient demand from the teams, but it is unlikely to be free or in the short term.

ludetie commented 1 year ago

Hello,

Ok ; thank you for this explanation.

Janhouse commented 2 weeks ago

Is there any way to get notifications working when using personal (and internal) smp servers? (Meaning that default ones are removed). Testing on iOS devices I noticed that no notifications are being received :shrug: I did remove all the default smp and xftp servers from the list.

epoberezkin commented 2 weeks ago

Only if you rebuild the iOS app with a different bundle ID and get key from Apple so your server can send you push notifications.

Janhouse commented 2 weeks ago

Couldn't smp pass on the notifications to the public notification server, similarly as it is handled by Home Assistant and other software that enables notifications for apps connecting to private servers.