mukur
August 7, 2017, 11:56am
1
According to Facebook react native docs, iOS never allows to navigate your Url with “http” protocol (instead https).
The solution is to make changes inside info.plist file, which I am unable to locate inside my project folder.
https://stackoverflow.com/questions/38418998/react-native-fetch-network-request-failed
What to do or what else can be done, without configuring Server?
lesktr
August 8, 2017, 2:12am
2
Hi there, i’m facing the same issue…
I’ve been searching a lot, found that’s possible modifying the “app.json” file in my app.
but my http request still not working
here’s my sample code:
{
"expo": {
"name": "app name",
"description": "app description",
"slug": "app slug",
"privacy": "public",
"sdkVersion": "19.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "./assets/icons/app-icon.png",
"loading": {
"icon": "./assets/icons/loading-icon.png",
"hideExponentText": false
},
"packagerOpts": {
"assetExts": ["ttf", "mp4"]
},
"ios": {
"supportsTablet": true,
"infoPlist": {
"NSLocationAlwaysUsageDescription" : "needs gps data.",
"NSAppTransportSecurity" : {
"NSAllowsArbitraryLoads" : true,
"NSAllowsArbitraryLoadsForMedia": true,
"NSAllowsArbitraryLoadsInWebContent": true,
"NSExceptionAllowsInsecureHTTPLoads": true
}
}
}
}
}
how can we add google file to it …GoogleService-Info.plist
bacon
April 18, 2018, 10:35pm
4
You will have to configure your firebase app using the web method.
If you want to go the native route you will need to detach your expo app