I am developing a game on React-Native that works completely offline without needing internet connection,
The game will be multiplayer 1vs1 game, and players will join via Wifi Hotspot (also known as wifi Direct) The game will also allow users to chat with eachother
and this all should be done without internet by just using the wifi..
I have tried "React-Native-Wifi-Hotspot" but there is no documentation about how to send and receive data
I want to send and receive objects/arrays over wifi hotspot between 2 connected devices. P2P
I have also readed about react-native-wifi-p2p library but it's documentation says that we need a local server or something i am really not sure about how to do that.