react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

🐛 JSON value '( 65, 84, 90, 13 )' of type NSMutableArray cannot be converted to NSString

Open rakshitbharat opened this issue 2 years ago • 1 comments

Prerequisites

  • [X] I checked the documentation and FAQ without finding a solution
  • [X] I checked to make sure that this issue has not already been filed

Expected Behavior

I am getting this error

JSON value '(
    65,
    84,
    90,
    13
)' of type NSMutableArray cannot be converted to NSString

Current Behavior

getting with notifiaction

Library version

latest

Device

iPhone 15 Pro

Environment info

react native

Steps to reproduce

simple when listining to ios

Formatted code sample or link to a repository

this.connectedDevice.monitorCharacteristicForService(
      serviceUUID,
      characteristicUUID,
      d => {
        console.log(d);
      },
    );

Relevant log output

JSON value '(
    65,
    84,
    90,
    13
)' of type NSMutableArray cannot be converted to NSString

Additional information

No response

rakshitbharat avatar Dec 09 '23 14:12 rakshitbharat

Could you tell what device was connected? What data was transferred? What service was observed and what characteristics?

Hi @rakshitbharat Do you still need help with the issue?

Closing due to inactivity