Developed iOS application using Network.framework to share data among iOS devices and its working fine. But there are few scenario where its failing to share data :
- IF two devices wanted to share data using WIFI direct ( no bluetooth ) , keeping both devices operating in Foreground mode its working fine but as soon as one of the devices putting application in background mode , data sent from other devices not receiving ( even after coming from background to foreground )
- If airoplane mode is enabled and then try to sync then it not able to send data.
I have raised this question on Apple Developer community , here is the link for more information : https://developer.apple.com/forums/thread/715118?login=true&page=1#729483022