Prevent initial "Hello there" popup

Is it possible to disable the initial “Hello there” dev tools popup from showing? I’m attempting to run some e2e tests using webdriver.io with Appium on iOS, and I’d rather not have to click through that popup all the time.

The test session starts out by installing Exponent.app, opens Exponent, then loads the app via URL (e.g., exp://10.0.1.2:19000). Every time the app loads, I get the welcome popup:

I’ve tried disabling dev mode with expo start --no-dev, but that doesn’t appear to make a difference.

While not quite what I was going for, this is helpful:

for iOS - if you can set NSUserDefaults, set EXKernelDisableNuxDefaultsKey to true (detox supports this, unsure about what webdriver provides)
for Android - launch the intent with the extras key EXKernelDisableNuxDefaultsKey set to true

(this is what we do on https://snack.expo.io when launching simulators)

2 Likes

Thanks – that worked! After a bit of trial and error, I ended up initializing my session with this (Appium + webdriver.io):

const remote = await wdRemote({
	capabilities: {
		platformName: 'iOS',
		platformVersion: '14.1',
		deviceName: 'iPhone Simulator',
		automationName: 'XCUITest',
		app: `${__dirname}/bin/Exponent.app`,
		// browserName is required, even for mobile
		browserName: '',
		// Dismiss the "Open in Expo" alert
		autoAcceptAlerts: true,
		// Prevent the onboarding popup
		processArguments: {
			args: ['-EXKernelDisableNuxDefaultsKey', 'true'],
		},
	},
	port: 4723,
	path: '/wd/hub',
	logLevel: 'silent',
})
1 Like