VNAPNIC / flutter_nearby_connections

Flutter plugin support peer-to-peer connectivity and the discovery of nearby devices for Android vs IOS
https://pub.dev/packages/flutter_nearby_connections
BSD 2-Clause "Simplified" License
106 stars 68 forks source link

Wrong deviceId #17

Closed mgeilich closed 3 years ago

mgeilich commented 3 years ago

On receipt of a message from a peer, the Message contains deviceId and message. The deviceId is incorrect - it is the ID of the receiver of the message when it should be the deviceId of the sender. As far as I can tell, there is no way to determine the ID of the sender of a Message.

7anya commented 3 years ago

hey so, i sent messages from 1 device to 2 other devices and the deviceID was same in the messages received on both devices. thus the deviceId shown is the device id of the sender not the reciever

VNAPNIC commented 3 years ago

Closed https://github.com/VNAPNIC/flutter_nearby_connections/issues/20