Fix for Advanced:Network:Handling Errors - DELAY

On my Android simulator and my Android phone, it took minutes DELAY for the error to show “Could not retrieve the listing”.

FIX: add 10 second timeout, client.js:`
import { create } from ‘apisauce’;

const apiClient = create({
baseURL: “http://111.222.0.33:9000/api/”,
timeout: 10000,
});
`

1 Like

Thanks, this helped me out!