mirror of
https://github.com/Termix-SSH/Mobile.git
synced 2026-07-28 05:51:43 +02:00
17 lines
399 B
JavaScript
17 lines
399 B
JavaScript
const { withInfoPlist } = require("@expo/config-plugins");
|
|
|
|
const withIOSNetworkConfig = (config) => {
|
|
return withInfoPlist(config, (config) => {
|
|
config.modResults.NSAppTransportSecurity = {
|
|
NSAllowsArbitraryLoads: true,
|
|
NSAllowsLocalNetworking: true,
|
|
NSAllowsArbitraryLoadsInWebContent: true,
|
|
};
|
|
|
|
return config;
|
|
});
|
|
};
|
|
|
|
module.exports = withIOSNetworkConfig;
|
|
|