title: React-native bluetooth scan: device name is always null
body: <p>I'm building an Android application with React-native and I need the bluetooth to communicate with a particular device.</p>
  
  <p>I'm using this library to scan for devices: <a href="https://polidea.github.io/react-native-ble-plx/" rel="noreferrer">https://polidea.github.io/react-native-ble-plx/</a> here's the code:</p>
  
  <pre><code>import React from "react";
  import { PermissionsAndroid, View, Text, Button } from "react-native";
  import { BleManager } from 'react-native-ble-plx';    
  
  const ProfileScreen = props =&gt; {
    async function requestCameraPermission() {
      try {
        const granted = await PermissionsAndroid.request(
          PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION,
          {
            title: 'Cool Photo App Camera Permission',
            message: 'Cool Photo App needs access to your camera',
            buttonNeutral: 'Ask Me Later',
            buttonNegative: 'Cancel',
            buttonPositive: 'OK',
          },
        );
        if (granted === PermissionsAndroid.RESULTS.GRANTED) {
          console.log('You can use the camera');
          return true;
        } else {
          console.log('Camera permission denied');
          return false;
        }
      } catch (err) {
        console.warn(err);
        return false;
      }
    }
  
    scanAndConnect = () =&gt; {
      const permission = requestCameraPermission();
  
      if (permission) {
        const bluetoothInstance = new BleManager();
  
        bluetoothInstance.startDeviceScan(null, null, (error, device) =&gt; {
          if (error) {
            console.log(error);
            return
          } else {
            console.log(device);
          }
        });
      } else {
        console.log("permission not granted")
      }
    };
  
    return (
      &lt;View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}&gt;
        &lt;Text&gt;Profile&lt;/Text&gt;
        &lt;Button 
          title="Start scanning"
          onPress={scanAndConnect}/&gt;
        &lt;/View&gt;
    )
  }
  </code></pre>
  
  <p>Initially I thought it was working, but when I check the console I notice that all the devices found are like this:</p>
  
  <pre><code>Device {
      id : "2C:F0:EE:19:27:CF"
      isConnectable : null 
      localName : null
      manufacturerData : "TAAQBQsUluNJ"
      mtu : 23
      name : null
      overflowServiceUUIDs : null
      rssi : -62 
      serviceData : null 
      serviceUUIDs : null 
      solicitedServiceUUIDs : null 
      txPowerLevel : null
      _manager : BleManager
      __proto__ : Object
  }
  </code></pre>
  
  <p>Is this result correct? I can't find any way to understand which is my device without informations like <code>name</code> or <code>localName</code>. Am I missing something?</p>