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 5d5d6ec commit b6196d2Copy full SHA for b6196d2
.changeset/polite-fireants-mate.md
@@ -0,0 +1,5 @@
1
+---
2
+'@firebase/auth-compat': patch
3
4
+
5
+Fix auth scheme reconition in capacitor env
packages/auth-compat/src/platform.ts
@@ -51,7 +51,9 @@ function _isHttpOrHttps(): boolean {
51
*/
52
export function _isAndroidOrIosCordovaScheme(ua: string = getUA()): boolean {
53
return !!(
54
- (_getCurrentScheme() === 'file:' || _getCurrentScheme() === 'ionic:') &&
+ (_getCurrentScheme() === 'file:' ||
55
+ _getCurrentScheme() === 'ionic:' ||
56
+ _getCurrentScheme() === 'capacitor:') &&
57
ua.toLowerCase().match(/iphone|ipad|ipod|android/)
58
);
59
}
0 commit comments