@config-plugins/detox
Version:
Config plugin to auto configure detox on prebuild
20 lines (19 loc) • 650 B
TypeScript
import { type ConfigPlugin } from "expo/config-plugins";
import { SubdomainsType } from "./withNetworkSecurityConfig";
declare const _default: ConfigPlugin<void | {
/**
* Disable adding proguard minification to the `app/build.gradle`.
*
* @default false
*/
skipProguard?: boolean;
/**
* Subdomains to add to the network security config.
* Pass `['10.0.3.2', 'localhost']` to use Genymotion emulators instead of Google emulators.
* Pass `*` to allow all domains.
*
* @default ['10.0.2.2', 'localhost'] // (Google emulators)
*/
subdomains?: SubdomainsType;
}>;
export default _default;