bridgefy / bridgefy-react-native

The Bridgefy Software Development Kit (SDK) is a state-of-the-art, plug-and-play package that will let people use your mobile app when they don’t have access to the Internet, by using Bluetooth mesh networks.
MIT License
11 stars 4 forks source link

data is always `null` in `bridgefyDidReceiveData` #22

Closed antoinerousseau closed 3 months ago

antoinerousseau commented 4 months ago

I'm sending data using send(data, mode) where data is a string (stringified JSON or any string) But when getting the data, it's null

Examples of received payloads:

{"data": null, "messageId": "A0D5963C-7E1B-4F5C-81A6-02E9EF33BF68", "transmissionMode": {"mode": "mesh", "uuid": "25C27C18-C091-46E8-B360-5EE40952C5E3"}}
{"data": null, "messageId": "21AE0C18-63B5-47CA-BAE9-6E378C92331D", "transmissionMode": {"mode": "broadcast", "uuid": "742838E9-5CFD-4CF5-BCA7-994CB7304250"}}
antoinerousseau commented 4 months ago

@julian-bridgefy do you have any clue? I'm happy to help if you can point me in the right direction