Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History not saved #1

Closed
czlucius opened this issue Dec 18, 2020 · 2 comments
Closed

History not saved #1

czlucius opened this issue Dec 18, 2020 · 2 comments

Comments

@czlucius
Copy link
Owner

Codes scanned are not saved in history.

How to reproduce:

  • Open the app.
  • Scan a code(barcode, qr code, etc.)
  • Navigate to History tab

Expected result:

  • History item added
    Actual result:
  • Code not added in history
@czlucius
Copy link
Owner Author

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

czlucius added a commit that referenced this issue Mar 22, 2021
This fixes the issue #1 , as a CharSequence could not be serialised(perhaps because it is an interface)
@czlucius
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant