in DemoApp/app/screens/AppCenterScreen.js [116:136]
async selectStartup() {
switch (this.state.startupMode.key) {
case 'APPCENTER':
await this.configureStartup(SecretStrings[Platform.OS].appSecret, true);
break;
case 'TARGET':
await this.configureStartup(SecretStrings[Platform.OS].target, true);
break;
case 'BOTH':
await this.configureStartup(SecretStrings[Platform.OS].both, true);
break;
case 'NONE':
await this.configureStartup(null, true);
break;
case 'SKIP':
await this.configureStartup(null, false);
break;
default:
throw new Error(`Unexpected startup type=${this.state.startupMode.key}`);
}
}