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

getSignatureSvg() returns empty svg in Compose #305

Open
JWvanV opened this issue Mar 10, 2024 · 0 comments
Open

getSignatureSvg() returns empty svg in Compose #305

JWvanV opened this issue Mar 10, 2024 · 0 comments

Comments

@JWvanV
Copy link

JWvanV commented Mar 10, 2024

Describe the bug
When retrieving the signature from the signaturePadAdapter, I get a result from the bitmap function getTransparentSignatureBitmap, but not from getSignatureSvg.
The only result I get is: <?xml version="1.0" encoding="UTF-8" standalone="no"?>

To Reproduce
Steps to reproduce the behavior:

  1. In the onSigned callback do:
    signaturePadAdapter?.getSignatureSvg()
    and
    signaturePadAdapter?.getTransparentSignatureBitmap()
  2. Sign on the signaturePad
  3. See an actual bitmap, but an empty svg

Expected behavior
I would expect that the svg string would contain the signature path data.

Smartphone (please complete the following information):

  • Device: Panasonic scanner
  • OS: Android 9.0
  • Library Version 0.1.2
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