Skip to content

prefill does not worked image field #242

Description

@Eunno-An
final prefillContact = Contact(
        name: Name(last: name),
        photo: photoData.isNotEmpty ? Photo(fullSize: photoBytes) : null,
        organizations: [Organization(name: '$team $position')],
        phones: [
          if (smartPhoneNumber.isNotEmpty)
            Phone(number: smartPhoneNumber, label: Label(PhoneLabel.mobile)),
          Phone(number: "02-531-$extension", label: Label(PhoneLabel.work)),
        ],
        emails: [
          if (email.isNotEmpty)
            Email(address: email, label: Label(EmailLabel.work)),
        ],
      );

      try {
        final String? createdId = await FlutterContacts.native.showCreator(
          contact: prefillContact,
        );

image is showing on iOS, but not android.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions