wifidirectplugin 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,6 +22,7 @@ public class WifiDirectPlugin extends Plugin {
|
|
|
22
22
|
private WifiP2pManager.Channel channel;
|
|
23
23
|
private Context context;
|
|
24
24
|
private List<WifiP2pDevice> peerWifiDirDevices = new ArrayList<>();
|
|
25
|
+
private static final String TAG = "WifiDirectPlugin";
|
|
25
26
|
|
|
26
27
|
@Override
|
|
27
28
|
public void load() {
|
|
@@ -32,6 +33,7 @@ public class WifiDirectPlugin extends Plugin {
|
|
|
32
33
|
|
|
33
34
|
@PluginMethod
|
|
34
35
|
public void scanWifiPeers(PluginCall call) {
|
|
36
|
+
Log.d(TAG, "scanWifiPeers Called");
|
|
35
37
|
manager.discoverPeers(channel, new WifiP2pManager.ActionListener() {
|
|
36
38
|
@Override
|
|
37
39
|
public void onSuccess() {
|