Skip to content

Commit 08e831d

Browse files
committed
temporary enable fullstory
1 parent 03921a5 commit 08e831d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libs/Fullstory/index.native.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ const FS: Fullstory = {
3434
// after the init function since this function is also called on updates for
3535
// UserMetadata onyx key.
3636
getEnvironment().then((envName: string) => {
37-
const isTestEmail = userMetadata.email !== undefined && userMetadata.email.startsWith('fullstory') && userMetadata.email.endsWith(CONST.EMAIL.QA_DOMAIN);
38-
if ((CONST.ENVIRONMENT.PRODUCTION !== envName && !isTestEmail) || Str.extractEmailDomain(userMetadata.email ?? '') === CONST.EXPENSIFY_PARTNER_NAME) {
39-
return;
40-
}
37+
// const isTestEmail = userMetadata.email !== undefined && userMetadata.email.startsWith('fullstory') && userMetadata.email.endsWith(CONST.EMAIL.QA_DOMAIN);
38+
// if ((CONST.ENVIRONMENT.PRODUCTION !== envName && !isTestEmail) || Str.extractEmailDomain(userMetadata.email ?? '') === CONST.EXPENSIFY_PARTNER_NAME) {
39+
// return;
40+
// }
4141
FullStory.restart();
4242
FullStory.consent(true);
4343
FS.identify(userMetadata, envName);

0 commit comments

Comments
 (0)