Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'hasPermissionBtScan' does not exist on type 'BluetoothLE' #735

Open
santiagoarango31 opened this issue Sep 22, 2022 · 3 comments

Comments

@santiagoarango31
Copy link

santiagoarango31 commented Sep 22, 2022

I have installed the 6.7.0 version of cordova-plugin-bluetoothle, but when i import '@awesome-cordova-plugins/bluetooth-le/ngx' (I am using capacitor), i cant see that new methods.

dependencies:
"@awesome-cordova-plugins/bluetooth-le": "^5.45.0",
"@awesome-cordova-plugins/core": "^5.45.0",
"cordova-plugin-bluetoothle": "^6.7.0",

@ragcsalo
Copy link

ragcsalo commented Oct 2, 2022

Same issue here (targeting Android 31):

com\randdusing\bluetoothle\BluetoothLePlugin.java:929: error: cannot find symbol
    addProperty(returnObj, "hasPermission", cordova.hasPermission(Manifest.permission.BLUETOOTH_SCAN));

@kabaehr
Copy link
Contributor

kabaehr commented Oct 6, 2022

Hey, check this:
danielsogl/awesome-cordova-plugins#4320

@khayargoli
Copy link

Is this already fixed and merged into latest 6.7.0, if not whats the work around.

Please help SIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants