79603983

Date: 2025-05-02 18:59:54
Score: 2.5
Natty:
Report link

I'm having a similar issue with connecting to my supabase project using the IOS simulator.

I wonder if it is because Apple ATS sees a URL that ends in "supabase.co" and doesn't like it.

If I update my infoPlist like this, it works. I don't know if this is a good long term solution though.

"ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.xxxxxxx.expoapp",
      "infoPlist": {
        "ITSAppUsesNonExemptEncryption": false,
        "NSAppTransportSecurity": {
          "NSAllowsArbitraryLoads": true,
          "NSExceptionDomains": {
            "supabase.co": {
              "NSExceptionAllowsInsecureHTTPLoads": true,
              "NSIncludesSubdomains": true
            }
          }
        }
      }
    },
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having a similar issue
  • Low reputation (1):
Posted by: Brendan Lentz