You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i take a picture with react-native-image-picker and i want send the uri from the image but only get this error:
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
`
The text was updated successfully, but these errors were encountered:
Hi i take a picture with react-native-image-picker and i want send the uri from the image but only get this error:
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
`
The text was updated successfully, but these errors were encountered: