mirror of
https://github.com/hackku21/nearby_connections.git
synced 2026-03-02 03:49:22 +00:00
setup for file,(untested)
This commit is contained in:
@@ -190,7 +190,7 @@ class _MyBodyState extends State<Body> {
|
||||
cId = id;
|
||||
Nearby().acceptConnection(
|
||||
id,
|
||||
onPayLoadRecieved: (endid, bytes) {
|
||||
onPayLoadRecieved: (endid, bytes, payloadType) {
|
||||
showSnackbar(endid + ": " + String.fromCharCodes(bytes));
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user