rusel1989 / react-native-bluetooth-serial

Port of https://github.com/don/BluetoothSerial for react native
476 stars 291 forks source link

[Android][DOS][pairDevice not a function]When I am under DOS. Compile,react-native run-android,Quote the following error #30

Open tarscoding opened 7 years ago

tarscoding commented 7 years ago

....node_modules\react-native-bluetooth-serial\android\src\main\java\com\rusel\RCTBluetoothSerial\RCTBluetoothSe rialModule.java Use or covered the outdated API. Note: for more information, please use - Xlint: deprecation recompiling.

then in the RED-box,"pairDevice not a function"

Should I change the '.node_modules\react-native-bluetooth-serial\android\src\main\java\com\rusel\RCTBluetoothSerial\RCTBluetoothSe rialModule.java' import pairDevice function?