We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96647df commit 5c20f36Copy full SHA for 5c20f36
src/device-utils.ts
@@ -58,7 +58,9 @@ export const getDeviceTypeFromApp = (app: string): 'real' | 'simulator' | undefi
58
if (!app) {
59
return;
60
}
61
- return app.endsWith('.app') || app.endsWith('.zip') ? 'simulator' : 'real';
+ /* Remove query parameters from app path */
62
+ const cleanAppPath = app.replace(/\?.*$/, '').toLowerCase();
63
+ return cleanAppPath.endsWith('.app') || cleanAppPath.endsWith('.zip') ? 'simulator' : 'real';
64
};
65
66
export function isAndroid(pluginArgs: IPluginArgs): boolean {
0 commit comments