writeDescriptor was deprecated in API level 33
Opened this issue · 0 comments
fudom commented
The method writeDescriptor is deprecated. (click on the link) The new method returns int
instead of boolean
. Maybe we need to wrap this into a API check. I don't know what the byte[] value
is. Both method descriptions refer to value
, but the deprecated one has no value. Does anyone have experience with it?
Example usage:
cordova-plugin-ble-central/src/android/Peripheral.java
Lines 595 to 599 in 1727fd1
cordova-plugin-ble-central/src/android/Peripheral.java
Lines 632 to 635 in 1727fd1