Skip to content

Commit 3f53385

Browse files
authored
Update platform.ts
1 parent 6de6a91 commit 3f53385

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/auth-compat/src/platform.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ function _isHttpOrHttps(): boolean {
5151
*/
5252
export function _isAndroidOrIosCordovaScheme(ua: string = getUA()): boolean {
5353
return !!(
54-
(_getCurrentScheme() === 'file:' || _getCurrentScheme() === 'ionic:' || _getCurrentScheme() === 'capacitor:') &&
54+
(_getCurrentScheme() === 'file:' || _getCurrentScheme() === 'ionic:'
55+
|| _getCurrentScheme() === 'capacitor:') &&
5556
ua.toLowerCase().match(/iphone|ipad|ipod|android/)
5657
);
5758
}

0 commit comments

Comments
 (0)