Skip to content

Commit 62c6cdc

Browse files
authored
Merge b327b99 into 5268705
2 parents 5268705 + b327b99 commit 62c6cdc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

FirebaseStorage/Sources/FIRStorage.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,10 @@ - (void)ensureConfigured {
363363
bucket:_storageBucket
364364
auth:_auth
365365
appCheck:_appCheck];
366-
_fetcherServiceForApp.allowLocalhostRequest = _usesEmulator;
366+
if (_usesEmulator) {
367+
_fetcherServiceForApp.allowLocalhostRequest = YES;
368+
_fetcherServiceForApp.allowedInsecureSchemes = @[ @"http" ];
369+
}
367370
}
368371
}
369372

0 commit comments

Comments
 (0)