I have a React Native app set up in Expo.
I need to modify the info.plist, but am having problems doing so.
First, I can't find info.plist anywhere. Based on the Expo docs and this other SO question, the workaround is to add an "infoPlist" key into my app.json file. I have done so, and it looks like this:
"infoPlist": {
"NSAppTransportSecurity": {
"blah.s3.amazonaws.com": {
"NSExceptionAllowsInsecureHTTPLoads": true,
"NSRequiresCertificateTransparency": false,
"NSIncludesSubdomains": true
}
}
}
However when I attempt to compile the app (either by running "expo start" or "expo publish") I get the following error:
Error: Problem validating fields in app.json. See https://docs.expo.io/versions/v30.0.0/guides/configuration.html Should NOT have additional property 'infoPlist'.
Any ideas on how I can get around this?