react-native-sms icon indicating copy to clipboard operation
react-native-sms copied to clipboard

send with attachment get error

Open Florido14 opened this issue 2 years ago • 0 comments

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

`

Florido14 avatar May 05 '22 18:05 Florido14