Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 反应本机蓝牙设备列表_React Native - Fatal编程技术网

React native 反应本机蓝牙设备列表

React native 反应本机蓝牙设备列表,react-native,React Native,我试图使用BluetoothSerial.listupairedDevices()列出可用的蓝牙设备。但在诸如Redmi之类的设备中,它有时会显示空列表。在华为和三星,它工作得非常好

我试图使用
BluetoothSerial.listupairedDevices()
列出可用的蓝牙设备。但在诸如Redmi之类的设备中,它有时会显示空列表。在华为和三星,它工作得非常好