MCPcopy Create free account
hub / github.com/dailydotdev/apps / shouldRedirectAuth

Function shouldRedirectAuth

packages/shared/src/features/onboarding/lib/utils.ts:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33];
34
35export function shouldRedirectAuth(): boolean {
36 const ua = navigator.userAgent;
37
38 return brokenWebviewPatterns.some((pattern) => pattern.test(ua));
39}
40
41export const AUTH_REDIRECT_KEY = 'auth_redirect';
42export const AUTH_RETURN_PATH_KEY = 'auth_return_path';

Callers 2

InnerFunnelRegistrationFunction · 0.90
CallbackPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected