Closed sohaibnoman closed 3 years ago
The reason this is happening is that even though we change the host for firestore from "localhost:9080" to "10.0.2.2:9080", the images stored in the storage has a url containing "https:localhost..." which does not work for the android emulator. A solution to this is appending following code at the end of the string sent into the image provider
.replaceAll('localhost', '10.0.2.2')
Error loading images on android emulator when using the firebase emulator for i.g commercial data. When trying to access a image following error message appears:
OS Error: Connection refused, errno = 111, address = localhost, port = 48648