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

Function shouldUseSocialAuthPopup

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

Source from the content-addressed store, hash-verified

270 'share' in globalThis?.navigator && isMobile();
271
272export const shouldUseSocialAuthPopup = (): boolean => {
273 if (isIOSNative()) {
274 return false;
275 }
276
277 if (isBrave() && isMobile()) {
278 return false;
279 }
280
281 return true;
282};
283
284interface BroadcastMessage {
285 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