How to bluetooth interact between 2 mobile phones

Hi All,

I just moved my game to cocos creator 2.4.2 and wondered if anyone made a connection between 2 mobile phones in Bluetooth and where I should look into it.

Thanks!

I think you have to write codes by yourself in natives platform that you need (android, ios). Then, you can use jsb to call to that codes.
jsb android: https://docs.cocos.com/creator/manual/en/advanced-topics/java-reflection.html
jsb ios: https://docs.cocos.com/creator/manual/en/advanced-topics/oc-reflection.html

very helpful!

thanks!