Skip to content

Firebase Storage emulator, crash when uploading from LAN #8389

Closed
@radvansky-tomas

Description

I am using Flutterfire, however issue lies in native iOS SDK.

firebase/flutterfire#6578

Basically current iOS Storage SDK does not take in consideration emulator running at your local computer and being connected via network (ie with real device)...

When you run storage emulator at 0.0.0.0 with local IP 192.168.180.150 on default port 9199 and try to connect to it with iphone in same network it will fail with exception:

Insecure fetch request has a scheme (http) not found in fetcher allowedInsecureSchemes

AS there is missing setting for fetcher class in FIRStorage.m (check issue), I've manually added http scheme there which resolved connection issues, however whole emulator crash after (for logs check issue)

Similar issue has already been resolved for Auth Package: #7342

Other people experienced same situation here:
firebase/firebase-tools#3550

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions