javascript
Upload Image on Ios
const form = new FormData();
await form.append(‘image’, {
name: ‘image’,
type: ‘image/jpeg’,
uri: item
? Platform.OS === ‘android’
? item
: item.replace(‘file://‘, ‘’)
: null,
});
Was this helpful?
Similar Posts