When using a bucket name that looks like a domain name, the TLS security hits and blocks the request, this can be fixed when using react-native alone by lowering some security checks, but on an expo project, there's no fix. This will add an option: urlAsPath which which change s3 upload url from my.bucket.com.s3.amazonaws.com to s3.amazonaws.com/my.bucket.com.
In addition, I made the region url to be generated automatically.
When using a bucket name that looks like a domain name, the TLS security hits and blocks the request, this can be fixed when using react-native alone by lowering some security checks, but on an expo project, there's no fix. This will add an option:
urlAsPath
which which change s3 upload url frommy.bucket.com.s3.amazonaws.com
tos3.amazonaws.com/my.bucket.com
.In addition, I made the region url to be generated automatically.