Network.framework for peer to peer connection in background mode

284 Views Asked by At

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 :

  1. 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 )
  2. 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

0

There are 0 best solutions below