(expoConfig, rawProps)
| 192 | }); |
| 193 | |
| 194 | const withIOSAssets: ConfigPlugin = (expoConfig, rawProps) => |
| 195 | Expo.withDangerousMod(expoConfig, [ |
| 196 | "ios", |
| 197 | async (config) => { |
| 198 | const { |
| 199 | platformProjectRoot, |
| 200 | projectName = "", |
| 201 | projectRoot, |
| 202 | } = config.modRequest; |
| 203 | |
| 204 | const props = await transformProps(projectRoot, rawProps); |
| 205 | const addon = requireAddon(props); |
| 206 | const iosOutputPath = path.resolve(platformProjectRoot, projectName); |
| 207 | |
| 208 | await writeIOSAssets({ iosOutputPath, props }); |
| 209 | await addon?.writeIOSAssets({ iosOutputPath, props }); |
| 210 | |
| 211 | return config; |
| 212 | }, |
| 213 | ]); |
| 214 | |
| 215 | const withAppDelegate: ConfigPlugin = (expoConfig) => |
| 216 | Expo.withAppDelegate(expoConfig, (config) => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…