Push notifications in a local network

后端 未结 1 1634
闹比i
闹比i 2021-02-08 09:06

I need to implement Push Notifications for Android and iOS using my own server in a local network with no Internet access. More precisely, my users will have a mobile app (Andro

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-08 09:44

    First if you decide with the XMPP protocol .. you can use any of the servers you mentioned and use any library for the mobile Smack for example for android, the mobile library will automatically update you with events using listeners .. it's a software layer that handles notifications.

    Second if you want to implement it manually .. you'll have a service running on the mobile device that checks for updates periodically by requesting them from server.

    Third The actual push notifications need to be registered over the internet, android for example need to communicate with Google Cloud Messaging.

    0 讨论(0)
提交回复
热议问题