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 076093b commit f3acf08Copy full SHA for f3acf08
packages/auth-compat/src/platform.ts
@@ -51,10 +51,12 @@ function _isHttpOrHttps(): boolean {
51
*/
52
export function _isAndroidOrIosCordovaScheme(ua: string = getUA()): boolean {
53
return !!(
54
- (_getCurrentScheme() === 'file:' || _getCurrentScheme() === 'ionic:'
55
- || _getCurrentScheme() === 'capacitor:') &&
+ (_getCurrentScheme() === 'file:' ||
+ _getCurrentScheme() === 'ionic:' ||
56
+ _getCurrentScheme() === 'capacitor:') &&
57
ua.toLowerCase().match(/iphone|ipad|ipod|android/)
58
);
59
+
60
}
61
62
/**
0 commit comments