markusfisch / BinaryEye

Yet another barcode scanner for Android
https://play.google.com/store/apps/details?id=de.markusfisch.android.binaryeye
MIT License
1.38k stars 114 forks source link

Sharing via Bluetooth converts data into HTML #405

Closed DanielGallop closed 9 months ago

DanielGallop commented 9 months ago

As the title says, when sharing via Bluetooth, a html file is received. Would it be possible to have the option to share as a file instead? The somewhat misleadingly named "JSON file" option simply sends JSON as a string instead of a file.

There's some details about this behaviour in this stack overflow question.

markusfisch commented 9 months ago

Thanks for filing an issue about this! 👍 I wasn't aware of this problem 🤔

And yes, it is possible to add a "share as file" option! Implemented in https://github.com/markusfisch/BinaryEye/commit/f7e5ef473a2bb052dbc3ed91125d5de959abc3a9

So this is in the next version, 1.61.1, which is already on the way through Google Play.

DanielGallop commented 9 months ago

Is it possible to send multiple barcodes as a file, or can they only be sent individually? The Share button from the history still shares as a html file.

markusfisch commented 8 months ago

Version 1.62.0 adds a "Share as file" option in the history screen, too.

Should be available soon on the Play Store as well.