Home
last modified time | relevance | path

Searched refs:deviceManager (Results 1 – 3 of 3) sorted by relevance

/expo/packages/@expo/cli/src/start/platforms/__tests__/
H A DExpoGoInstaller-test.ts88 const deviceManager = { constant
98 const deviceManager = { constant
108 const deviceManager = { constant
131 const deviceManager = createDeviceManager(); constant
142 const deviceManager = createDeviceManager(); constant
155 const deviceManager = createDeviceManager(); constant
165 const deviceManager = createDeviceManager(); constant
177 const deviceManager = createDeviceManager(); constant
186 const deviceManager = createDeviceManager(); constant
209 const deviceManager = createDeviceManager(true); constant
[all …]
/expo/packages/@expo/cli/src/start/platforms/
H A DExpoGoInstaller.ts49 async uninstallExpoGoIfOutdatedAsync(deviceManager: DeviceManager<IDevice>): Promise<boolean> {
50 const cacheId = `${this.platform}-${deviceManager.identifier}`;
58 if (await this.isClientOutdatedAsync(deviceManager)) {
70 message: `Expo Go on ${deviceManager.name} is outdated, would you like to upgrade?`,
75 Log.log(`Uninstalling Expo Go from ${this.platform} device ${deviceManager.name}.`);
76 await deviceManager.uninstallAppAsync(this.appId);
85 async ensureAsync(deviceManager: DeviceManager<IDevice>): Promise<boolean> {
86 let shouldInstall = !(await deviceManager.isAppInstalledAsync(this.appId));
100 shouldInstall = await this.uninstallExpoGoIfOutdatedAsync(deviceManager);
107 const ora = logNewSection(`Installing Expo Go on ${deviceManager.name}`);
[all …]
H A DPlatformManager.ts65 deviceManager: DeviceManager<IDevice>
86 if (await deviceManager.isAppInstalledAsync(applicationId)) {
111 deviceManager.logOpeningUrl(url);
117 deviceManager.activateWindowAsync();
118 await deviceManager.openUrlAsync(url);
164 deviceManager.logOpeningUrl(url);
165 await deviceManager.activateWindowAsync();
166 await deviceManager.openUrlAsync(url);
208 deviceManager.logOpeningUrl(url);
209 await deviceManager.activateWindowAsync();
[all …]