Skip to content

RPSignatureResult.signatureImage stores PNG bytes as Uint8List.toString() — bloats payload ~4–5× and floods logs #167

Description

@Zeroupper

_signatureController?.toPngBytes().then((image) {
widget._onFinished(
RPSignatureResult.withParams(
_firstNameController.value.text,
_lastNameController.value.text,
// Converting the Uint8List into a string to make it compatible with JSON serialization
image.toString(),
),
);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions