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

When using expo start the app requests work but when using expo run:android requests stop working, why?

$
0
0

I'm configuring the OneSignal lib for PushNotification in an app that uses the expo with Bare Workflow, however, when I run the expo start it doesn't recognize the native parts in code that the lib needs, but the network part works fine. But when I run expo run:android the lib works normally, but the requests return two possible errors: JSON Parse error: Unexpected identifier "Temporary" or Network Request Failed. AndroidManifest.xml is set to android:usesCleartextTraffic="true". Requests are made with Axios and ApolloClient


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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