Last active
January 16, 2022 20:21
-
-
Save yagudaev/dd348c66f9eade163ea11c0c072c0cd3 to your computer and use it in GitHub Desktop.
Firebase v9 Optimization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js b/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
index f7425cb..ca821f2 100644 | |
--- a/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
+++ b/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
@@ -9055,7 +9055,8 @@ class BrowserPopupRedirectResolver { | |
} | |
get _shouldInitProactively() { | |
// Mobile browsers and Safari need to optimistically initialize | |
- return _isMobileBrowser() || _isSafari() || _isIOS(); | |
+ // return _isMobileBrowser() || _isSafari() || _isIOS(); | |
+ return false; | |
} | |
} | |
/** | |
diff --git a/node_modules/@firebase/auth/dist/esm5/index-db6f49fb.js b/node_modules/@firebase/auth/dist/esm5/index-db6f49fb.js | |
index 149f331..5570540 100644 | |
--- a/node_modules/@firebase/auth/dist/esm5/index-db6f49fb.js | |
+++ b/node_modules/@firebase/auth/dist/esm5/index-db6f49fb.js | |
@@ -10782,7 +10782,8 @@ var BrowserPopupRedirectResolver = /** @class */ (function () { | |
Object.defineProperty(BrowserPopupRedirectResolver.prototype, "_shouldInitProactively", { | |
get: function () { | |
// Mobile browsers and Safari need to optimistically initialize | |
- return _isMobileBrowser() || _isSafari() || _isIOS(); | |
+ // return _isMobileBrowser() || _isSafari() || _isIOS(); | |
+ return false; | |
}, | |
enumerable: false, | |
configurable: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment