(expoConfig, rawProps)
| 305 | ]); |
| 306 | |
| 307 | const withGenericAssets: ConfigPlugin = (expoConfig, rawProps) => |
| 308 | Expo.withDangerousMod(expoConfig, [ |
| 309 | expoConfig.platforms?.includes("ios") ? "ios" : "android", |
| 310 | async (config) => { |
| 311 | const { projectRoot } = config.modRequest; |
| 312 | const props = await transformProps(projectRoot, rawProps); |
| 313 | const addon = requireAddon(props); |
| 314 | |
| 315 | await writeGenericAssets({ props }); |
| 316 | await addon?.writeGenericAssets({ props }); |
| 317 | |
| 318 | return config; |
| 319 | }, |
| 320 | ]); |
| 321 | |
| 322 | export const withBootSplash = Expo.createRunOncePlugin< |
| 323 | (Partial<BootSplashPluginConfig> & { logo: string }) | undefined |
nothing calls this directly
no test coverage detected
searching dependent graphs…