bear1030

Results 9 comments of bear1030

@AndresTIY - Were you able to solve this problem? It doesn't even work on simulator for me.

Oh, I found what's wrong. I looked into the code. I see there is a option "includeManuallyAdded" and default values is false. I had to add this option with true...

@DreamGamer I added all those permissions to AndroidManifest.xml file. Which permissions do you check with https://github.com/zoontek/react-native-permissions? Thank you!

@DreamGamer I resolved it. I had to request the 'BLUETOOTH_SCAN' and 'BLUETOOTH_CONNECT'. You saved my day. Thank you again.

@ShaoGongBra `import {PERMISSIONS, RESULTS, requestMultiple} from 'react-native-permissions';` ... ` await requestMultiple([` ` PERMISSIONS.ANDROID.BLUETOOTH_SCAN,` ` PERMISSIONS.ANDROID.BLUETOOTH_CONNECT,` ` ])`

@ShaoGongBra That's what you need to grant for this package as a default. Here is my full code. `import {PERMISSIONS, RESULTS, requestMultiple} from 'react-native-permissions';` ... `await PermissionsAndroid.request(PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION);` `await requestMultiple([` `PERMISSIONS.ANDROID.BLUETOOTH_SCAN,`...

I just created my own repo. https://github.com/bear1030/react-native-doc-viewer

I just created my own repo. https://github.com/bear1030/react-native-doc-viewer