kirillzyusko / react-native-wifi-p2p

Library that provide access for working with wi-fi direct (p2p) module in android.
164 stars 32 forks source link

Added getGroupPassphraseInfo() to fetch passphrase #10

Closed qalqi closed 4 years ago

qalqi commented 4 years ago

After createGroup() method is exectuted, we can call getGroupPassPhraseInfo() to get passphrase required to connect to WiFI Direct group. Only catch is, not able to chain just immediately after createGroup. Instead, we can wait for 3 seconds, get passPhrase

qalqi commented 4 years ago

Sure. Will also add forgotten import import android.net.wifi.p2p.WifiP2pGroup;