I assume you’re using cordova-plugin-bluetoothle?
On Android you get the raw advertisement data. There is a helper function bluetoothle.encodedStringToBytes
to decode the string. Then you need to parse the bytes. There are some links on how you could do that in the README of cordova-plugin-ble-central.