Without any application details or frameworks, it's hard to be more than vague and point in the right direction. If you have already learned Bonjour / Zeroconf to connect your iPhone to the server, I would continue to look down this path.
The first thing you need to see PyBonjour for how to translate a server with Python. Although there are a few problems in how to configure this on Windows vs Mac vs Linux, this will be small. For windows, for example, the user would have to install Bonjour for Windows , where, since Linux users would need Avahi, but most of this can be configured by durin to install.
Secondly, check out the Bonjour documentation for iOS , which will be much simpler, since all of it is built into the system and API. From here, both the server and the client are discovered for each other.
The final issue is determining whether you want the iPhone to connect to the server or vice versa, and how to do it. However, these are fundamental network solutions that are more or less subjective.
Since you indicated your preference for web development, you can easily connect your iPhone to the Flask server and retrieve data from the server using HTTP / HTML technologies.
As for notifications, if a change in data by client A means that client B absolutely must know about the change in data, I would not worry. The next time, when client B connects to the server, the correct data can be pushed through this place rather than worrying about notification services. If another client really needs to be aware of the change, the other solution may be just a regular old email that recommends them and prompts them to open the application.
user764357
source share