Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send with attachment get error #103

Open
Florido14 opened this issue May 5, 2022 · 0 comments
Open

send with attachment get error #103

Florido14 opened this issue May 5, 2022 · 0 comments

Comments

@Florido14
Copy link

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

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant