react-native-aws3
react-native-aws3 copied to clipboard
an ssl error
this is my code after it executes i get ssl error
UploadImage(f){
console.log(f,options)
RNS3.put(f, options).then(response => {
if (response.status !== 201)
throw new Error("Failed to upload image to S3");
console.log(response.body);
}).catch((error)=>{
console.log(error);
});
}
text:"An SSL error has occurred and a secure connection to the server cannot be made."
I am also getting the same error text:"An SSL error has occurred and a secure connection to the server cannot be made." Any update on the same?
RNS3.put(imageUploadObj, optionsAWS).then(response => { if (response.status == 201) { // instead of success , error is received. } }).catch((error) => {
//error as mentioned above.
});