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 e09fbcd commit 92829d1Copy full SHA for 92829d1
src/metadata-storage.js
@@ -17,8 +17,12 @@ class MetadataStorage {
17
this.secure = secure;
18
this.sameSite = sameSite;
19
this.expirationDays = expirationDays;
20
- const writableTopDomain = topDomain(getLocation().href);
21
- this.cookieDomain = domain || (writableTopDomain ? '.' + writableTopDomain : null);
+ this.cookieDomain ='';
+
22
+ if (!BUILD_COMPAT_REACT_NATIVE) {
23
+ const writableTopDomain = topDomain(getLocation().href);
24
+ this.cookieDomain = domain || (writableTopDomain ? '.' + writableTopDomain : null);
25
+ }
26
}
27
28
getCookieStorageKey() {
0 commit comments