I'm using GameKit peer-to-peer connection in my app and I'm experiencing the following issue: when using GKPeerPickerController sometimes it takes too long time to deliver an invitation to connect from one device to another. Sometimes devices just don't see each other. What can i do about that? Is it better not to use GKPeerPickerController at all and present custom interface?
GameKit peer to peer connection issue. It takes long time to deliver an invitation to another device
218 Views Asked by Andrey Chernukha At
1
There are 1 best solutions below
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in OBJECTIVE-C
- How to control the volume of an iPhone programmatically in objective-c
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- How to set value the descriptor of iOS BLE in Objective-C?
- Unexpected #selector() Behavior in Swift-Objective-C Interop?
- In what context can we use an unqualified #selector() expression in Swift?
- AVPictureInPictureController crashes during initialization
- How to use pow() in Objective-C?
- How to change the image on the MGSwipeButton in MGSwipeTableCell
- Using sort descriptors in Outline View
- Why is my Swift function not printing from inside the dataTask closure?
- Using UICollectionViewCell with IBOutlet
- Undefined symbol: _OBJC_CLASS_$_ only on simulator
- Why can't I receive a notification sent from Camera Extension(Swift) to an observer application (obj-c++)
- Behavior of __block modifier in objc
- Inserting subview into view where I've added subviews and sublayers
Related Questions in P2P
- Unable to Retrieve External Public Address in libp2p Swarm Events
- How to avoid duplicates with the pull-based subscribe model?
- Wifi direct (Wifi P2P) connection between raspberry pi 4b and android device only possible after reboot
- Using tokio::time::timeout does not trap delayed response from TCPReadStream
- 'connections' is deprecated. The declaration was marked as deprecated here
- Twitch but practically free with p2p webRTC?
- How Can I Connect Using A WebRTC-Offer With PeerJS
- Choose between polling, websocket or P2P
- does webrtc use turn server if established p2p connection is failed?
- A p2p secure chat application need more ressources to establish the work
- how to allow mobile apps to communicate without a separate server
- aiortc can't receive video from server example
- P2P connection does not work on Android 11 and above
- Android device cannot detect others by flutter_nearby_connections
- Why is WebRTC peer.ontrack not being called in 1-1 peer connection?
Related Questions in GAMEKIT
- Error On Unity Build iOS awake Reason: tried: '/usr/lib/swift/AppleCoreNative.framework/AppleCoreNative' (no such file, not in dyld cache)
- Basic GameCenter code not working or authenticating?
- Why does GKMatchmaking always find only the minimum number of players?
- How to hide the GCVirtualController
- C++ error: no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::AWSCredentials
- Is GKLocalPlayer's gamePlayerID different from the gamePlayerID other players in the GKMatch can access/see?
- How to verify GameKit LocalPlayer auth signature on external server?
- GameKit achievement notifications not showing up even though they were working before?
- How to sign in a guest player in GameKit
- GameKit / GKMatchRequest: timeout or forced start?
- How to render a Swift component in ReactNative for Apple Game Kit
- GKGameCenterViewController showing as black text on dark background on iPads running iPadOS 16
- XCode build fail when add Apple.GameKit plugin for Unity: Undefined symbol
- How to show Gamekit add friend screen from Swiftui
- How to set a host player for a peer to peer match in GameKit?
Related Questions in GKPEERPICKERCONTROLLER
- Duplicate peer name appear in GKPeerPicker Controller
- How to remove duplicate devices in bluetooth connection using GKPeerPickerController in ios
- How many data in bytes can I send at a time via bluetooth?
- GKPeerPickerController deprecated
- GKPeerPickerController is blank when invoked within EAGLView
- GameKit peer to peer connection issue. It takes long time to deliver an invitation to another device
- GKPeerPickerController throwing exception "expected expression"
- Why is my crashing and saying EXC-BAD_ACCESS while trying to show a GKPeerPickerController(ARC is on)
- Gamekit API error when accepting incoming request
- iPhone turn off bluetooth GKPeerPickerController
- GKPeerPickerController Gives "wait_fences" Error When Using cocos2d
- A bit of annoying warnings that still let the app work but would like to remove
- Issue using bluetooth on iPhone/iPod
- How to Broadcast a file(.mp3) over local wifi? and synchronize the play when both devices have the file?
- iPhone peer 2 peer Connection .. Is there a way to connect to more than 1 devices?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Depending on the type of app you are trying to make, it may be more beneficial for you to have one device act as a Server and another as a Client. I've noticed from personal experience that having both devices act as Peers can take considerably longer, or just flat out not work.
The only disadvantage with the Server / Client perspective is that your users will have to specifically choose one or the other, and you will have to create your own user interface. But if you can work with that then you'll probably get better results. Good luck!