android-signaturepad
android-signaturepad copied to clipboard
getSignatureSvg() returns empty svg in Compose
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:
- In the onSigned callback do: signaturePadAdapter?.getSignatureSvg() and signaturePadAdapter?.getTransparentSignatureBitmap()
- Sign on the signaturePad
- 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