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

Function shouldUseSocialAuthPopup

packages/shared/src/lib/func.ts:260–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 'share' in globalThis?.navigator && isMobile();
259
260export const shouldUseSocialAuthPopup = (): boolean => {
261 if (isIOSNative()) {
262 return false;
263 }
264
265 if (isBrave() && isMobile()) {
266 return false;
267 }
268
269 return true;
270};
271
272interface BroadcastMessage {
273 eventKey: string;

Callers 3

onProviderClickFunction · 0.90
LfgStandOutFunction · 0.90
useLoginFunction · 0.90

Calls 3

isBraveFunction · 0.90
isIOSNativeFunction · 0.85
isMobileFunction · 0.85

Tested by

no test coverage detected