Push Notification without using internet,wifi,APNS and apple push notification server

Viewed 2009

I need to write an IOS app to let a few IOS devices to send local notifications to each other WITHOUT external Internet connection (without using APNS -- apple push notification server). The environment will be a private internal WIFI network with a dedicated server...

Scanario

we work in a bank office all 14 people using Iphones Person A send notification to rest of the 13 people all will recieve the notification one person in the group (for example, Person H) reply back and Person A can recieve Person H's reply not external internet all iphone what we have is a private wifi network, set up by a server . TOTALLY NO LINK to outside world..no link to outside internet

If it is possible in ios app. using swift 3.0. If It's possible can you please guide me.

2 Answers

The scenario can be addressed using MQTT Protocol within the Wi-Fi network. You will have to set up an MQTT Broker within the network and Make an MQTT Client in your iOs App. You can subscribe the MQTT Client to the MQTT broker on a topic same as GCM works and use MQTT Broker to send Push Notification to topics subscribed by MQTT Clients.

Example for Android

Related