INNER CODE UNIT · JavaScript
withReactNativeHost
microsoft/react-native-test-app · packages/app/plugins/index.js:12
function withReactNativeHost(config, action) {
return withMod(config, {
platform: "ios",
mod: "reactNativeHost",
action,
});
}
/**
* Provides the `SceneDelegate` file for modification.
* @param {ExportedConfig} config Exported config
* @param {Mod} action Method to run on the mod when the config is compiled
* @returns {ExportedConfig} Modified config
*/
function withSceneDelegate(config, action) {
return withMod(config, {
platform: "ios",
mod: "sceneDelegate",