I’ve got this error when trying to connect to one of my api. When calling it from my browser (either on firefox on my computer or on my phone) it works and returns correctly.
[Unhandled promise rejection: TypeError: Network request failed]
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:24218:31 in onerror
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:28862:31 in dispatchEvent
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:28615:33 in setReadyState
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:28442:29 in __didCompleteResponse
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3896:42 in emit
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3189:49 in __callFunction
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:2946:31 in <unknown>
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3143:15 in __guard
* http://packager.sx-mxp.glenncal.two-cherries-react-app-expo-2018.exp.direct:80/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:2945:21 in callFunctionReturnFlushedQueue
Any ideas why that would happen? Is there some restrictions that would prevent Expo from connecting to the website?