diff --git a/src/remoteForS3.ts b/src/remoteForS3.ts index 2be87c9..2a07c81 100644 --- a/src/remoteForS3.ts +++ b/src/remoteForS3.ts @@ -779,7 +779,7 @@ export const checkConnectivity = async ( ) => { try { // TODO: no universal way now, just check this in connectivity - if (Platform.isIosApp && !s3Config.s3Endpoint.startsWith("https")) { + if (Platform.isIosApp && s3Config.s3Endpoint.startsWith("http://")) { throw Error( `Your s3 endpoint could only be https, not http, because of the iOS restriction.` );