MCPcopy Create free account
hub / github.com/transistorsoft/react-native-background-geolocation / getPlistPath

Function getPlistPath

scripts/xcode-helpers.js:37–46  ·  view source on GitHub ↗
(sourceDir, project)

Source from the content-addressed store, hash-verified

35}
36
37function getPlistPath(sourceDir, project) {
38 const plistFile = getBuildProperty(project, 'INFOPLIST_FILE');
39 if (!plistFile) {
40 return null;
41 }
42 return path.join(
43 sourceDir,
44 plistFile.replace(/"/g, '').replace('$(SRCROOT)', '')
45 );
46}
47
48function readPlist(sourceDir, project) {
49 const plistPath = getPlistPath(sourceDir, project);

Callers 2

readPlistFunction · 0.85
writePlistFunction · 0.85

Calls 1

getBuildPropertyFunction · 0.85

Tested by

no test coverage detected