MCPcopy
hub / github.com/zoontek/react-native-bootsplash / getInfoPlistPath

Function getInfoPlistPath

src/extras/generate.ts:145–163  ·  view source on GitHub ↗
({
  iosOutputPath,
  plist,
}: {
  iosOutputPath: string;
  plist: string | undefined;
})

Source from the content-addressed store, hash-verified

143};
144
145const getInfoPlistPath = ({
146 iosOutputPath,
147 plist,
148}: {
149 iosOutputPath: string;
150 plist: string | undefined;
151}) => {
152 if (plist != null) {
153 const infoPlistPath = path.resolve(cwd, plist);
154
155 if (!hfs.exists(infoPlistPath)) {
156 return log.warn(`No ${path.relative(cwd, infoPlistPath)} found`);
157 }
158
159 return infoPlistPath;
160 }
161
162 return path.resolve(iosOutputPath, "Info.plist");
163};
164
165export const generate = async ({
166 platforms,

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…