Closed huytran123 closed 5 years ago
@huytran123 why you closed the issue?
I have the same issue on a fresh installment, what was the solution @huytran123 ?
@fnaquira : you can read detail: https://developer.android.com/reference/android/bluetooth/le/BluetoothLeScanner
Hi
When i use your module, app asks me allow location permission. I do not know why this module need location permission? please can you give me detail.
I found this code in android module:
int permissionChecked = ContextCompat.checkSelfPermission(reactContext, android.Manifest.permission.ACCESS_COARSE_LOCATION); if (permissionChecked == PackageManager.PERMISSION_DENIED) { // // TODO: 2018/9/21 ActivityCompat.requestPermissions(reactContext.getCurrentActivity(), new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION}, 1); } Thanks so much