You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We're using urql(https://github.com/FormidableLabs/urql) offline support which expects to get from fetch the error
failed to fetch
in order to identify that the will be on offline mode. Now that capacitor is replacing the browser fetch when android try to fetch without internet will returnConnectException
orUnknownHostException
, which is different than what they expect https://github.com/urql-graphql/urql/blob/59f43ca674b04b8ddd0b3823d605e4b23ec67bff/exchanges/graphcache/src/offlineExchange.ts#L116.Wondering if capacitor should mimic what fetch on browser does as it replaces? Or should urql be responsible to catch all possible errors?
Beta Was this translation helpful? Give feedback.
All reactions