Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28463

Cannot connect to Apollo GraphQL server on Android Release [react native]

$
0
0
    httpURI = 'http://17.25.16.68:4000/graphql' //example
    const httpLink = createHttpLink({ uri: httpURI });
    const client = new ApolloClient({ link:httpLink, cache: new InMemoryCache() });

The connection works on debug mode, but when I run it on release, no connection is made.

Do I need to enable outgoing connections somewhere in the Android release config?


Viewing all articles
Browse latest Browse all 28463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>