Open FelixYew opened 3 years ago
No, the current only supports transfer data raw
Please consider to include this feature. Thanks
ok, u can follow the progress here https://github.com/VNAPNIC/flutter_nearby_connections/projects/3
👍 +1 for file sharing
u can convert image into byte array and byte array to base64 String
like that:
List
u can convert image into byte array and byte array to base64 String
What if someone wants to build a file sharing app using that, than this hack would not work. :(
Is there a size limit? I tried sending the base64Image string but I cant receive it on the other device :(
Is there a size limit? I tried sending the base64Image string but I cant receive it on the other device :(
Did u solve this problem?
Is there a size limit? I tried sending the base64Image string but I cant receive it on the other device :(
Did u solve this problem?
Kind of. Since they're already in a base64 string, i split them up into strings of 1500 length and sent them one by one with the max number of parts and corresponding part number attached. Once the receiver receives the the last part, do a check if the number of parts received is equal to the max number of parts. Then if nothing is missing, merge them into a single string and convert it to whatever you want. Eg. Image, File etc. I did this for images and voice recordings.
Kind of.
@ether-how Can you provide a more detailed example?
Possible to implement file sharing with nearby connection.