UNPKG

918 BSource Map (JSON)View Raw
1{"version":3,"file":"CustomInfoPlistEntries.js","sourceRoot":"","sources":["../../src/ios/CustomInfoPlistEntries.ts"],"names":[],"mappings":";;AAGA,SAAgB,yBAAyB,CAAC,MAAkB;IAC1D,OAAO,MAAM,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;AACxE,CAAC;AAFD,8DAEC;AAED,SAAgB,yBAAyB,CAAC,MAAkB,EAAE,SAAoB;IAChF,IAAI,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAEhD,uCACK,SAAS,GACT,OAAO,EACV;AACJ,CAAC;AAPD,8DAOC","sourcesContent":["import { ExpoConfig } from '../Config.types';\nimport { InfoPlist } from './IosConfig.types';\n\nexport function getCustomInfoPlistEntries(config: ExpoConfig) {\n return config.ios && config.ios.infoPlist ? config.ios.infoPlist : {};\n}\n\nexport function setCustomInfoPlistEntries(config: ExpoConfig, infoPlist: InfoPlist) {\n let entries = getCustomInfoPlistEntries(config);\n\n return {\n ...infoPlist,\n ...entries,\n };\n}\n"]}
\No newline at end of file