czlucius / code-scanner

An Android app to scan and generate codes(barcodes/QR codes)
GNU Affero General Public License v3.0
39 stars 25 forks source link

History not saved #1

Closed czlucius closed 3 years ago

czlucius commented 3 years ago

Codes scanned are not saved in history.

How to reproduce:

Expected result:

czlucius commented 3 years ago

This problem only happens when a Text object is used, when text/unsupported data types are used.

czlucius commented 3 years ago

Issue solved after Text (a type of Data) uses String instead of CharSequence, making it possible to serialize the object, as former is a concrete class, but the latter is an interface.