Fetch not working for iOS as my localhost server is not on "https"


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.


What to do or what else can be done, without configuring Server?

1 Like

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


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