We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f3d39 commit 77363dfCopy full SHA for 77363df
android/src/main/java/so/onekey/lib/ble/utils/BleUtilsModule.kt
@@ -32,7 +32,7 @@ class BleUtilsModule(private val reactContext: ReactApplicationContext) :
32
private fun getBluetoothManager(): BluetoothManager? {
33
if (bluetoothManager == null) {
34
bluetoothManager =
35
- reactContext.getSystemService(Context.BLUETOOTH_SERVICE)
+ reactContext.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager?
36
}
37
return bluetoothManager
38
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@onekeyfe/react-native-ble-utils",
3
- "version": "0.1.1",
+ "version": "0.1.2",
4
"description": "ble uilts",
5
"source": "./src/index.tsx",
6
"main": "./dist/commonjs/index.js",
0 commit comments