Skip to content

send with attachment get error #103

Description

@Florido14

Hi i take a picture with react-native-image-picker and i want send the uri from the image but only get this error:
279263499_2194127754083366_3143036608929144228_n
I have tried to do it like 'data:image/png;base64,' + base64 but an error appears : 'message failed to load attachment'
my code :
` attachment = {
url: media,
iosType: 'public.jpg',
iosFilename: 'Image.jpg',
androidType: 'image/*',
};
SendSMS.send({
body: text,
recipients: numbersContacts,
successTypes: ['all', 'sent', 'queued',],
allowAndroidSendWithoutReadPermission: true,
attachment: attachment

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions