diff --git a/src/@ionic-native/plugins/ble/index.ts b/src/@ionic-native/plugins/ble/index.ts index 5405c63df..aa359a6d4 100644 --- a/src/@ionic-native/plugins/ble/index.ts +++ b/src/@ionic-native/plugins/ble/index.ts @@ -455,9 +455,12 @@ export class BLE extends IonicNativePlugin { * @param {string} serviceUUID UUID of the BLE service * @param {string} characteristicUUID UUID of the BLE characteristic * @return {Observable} Returns an Observable that notifies of characteristic changes. + * The observer emit an array with data at index 0 and sequence order at index 1. + * The sequence order is always undefined on iOS. On android it leave the client to check the sequence order and reorder if needed */ @Cordova({ observable: true, + destruct: true, clearFunction: 'stopNotification', clearWithArgs: true, })