Can we send push notification to APNs from iOS device?

后端 未结 3 1120
青春惊慌失措
青春惊慌失措 2020-12-11 17:50

I want to send push notification from a iOS device to another iOS device without using backend server. Is it possible for an iOS device to act like a server and send push no

3条回答
  •  被撕碎了的回忆
    2020-12-11 18:12

    You also need to consider Server costs (other than maintenance and development time if you code your own server).

    By sending the push directly from the app device:
    - you obtain a much better scalability (since you don't have to centralize everything on your server)
    - you don't have to pay for server cost or other service's cost

    You can use for iOS: - https://github.com/noodlewerk/NWPusher Pusher

    And for Android: - Send push notification GCM by java

提交回复
热议问题