I am writing a multiplayer gamein iOS using Gamekit. I am trying to send data from a player to other using below methods
match.send(data, to: [player], dataMode: .reliable)
match.sendData(toAllPlayers: data, with: .reliable)
It works fine on ios 13 but on ios 14 (Beta 2) and build on Xcode 12.0 (beta 2), I see below message
[Error] WARNING: -[GKMatch sendData:toPlayers:dataMode:error:] is obsoleted. Game Center doesn't invoke this obsoleted method from iOS/tvOS 14.0 and macOS 10.16 onwards
I don't see any alternative methods in the documentation. Help is much appreciated.