nfcim / nfsee

Read your Transit/Bank/ID cards on Android/iOS phone with NFSee App
https://nfsee.nfc.im/
MIT License
147 stars 22 forks source link

Allow to export card data to file or clipboard #17

Open luisschwab opened 1 year ago

luisschwab commented 1 year ago

It would be very nice to be able to export data encoded on the card to a file, or even copy it to the clipboard.

Copying unique ID's is easy enough, but I have cards encoded with over 100 lines of JSON. Pretty much makes it impossible to work with the data.

Harry-Chen commented 1 year ago

The problem with exporting data is that different types of tags have different data on them. While it is straghtforward to generate a JSON clip (in fact we use JSON to pass data around, which you can see in read.js), it is not easy to come up with a general abstraction / data format.

luisschwab commented 1 year ago

maybe just allow for copy paste on each field then?

Frostie314159 commented 1 year ago

So... I came here looking for the same thing. My solution for now was: Create a backup of the app data over ADB -> decompress the backup -> view the sqlite database. For a temporary solution we could just export the data ROW. It's JSON and it's a way of sharing the dumps.

Frostie314159 commented 1 year ago

For the time being, I have created a small script, that downloads app data. Just run it like this ./dump_app_data.sh im.nfc.nfsee and you will find the app data.