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

Function shouldUseSocialAuthPopup

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

Source from the content-addressed store, hash-verified

244 'share' in globalThis?.navigator && isMobile();
245
246export const shouldUseSocialAuthPopup = (): boolean => {
247 if (isIOSNative()) {
248 return false;
249 }
250
251 if (isBrave() && isMobile()) {
252 return false;
253 }
254
255 return true;
256};
257
258interface BroadcastMessage {
259 eventKey: string;

Callers 2

onProviderClickFunction · 0.90
useLoginFunction · 0.90

Calls 3

isBraveFunction · 0.90
isIOSNativeFunction · 0.85
isMobileFunction · 0.85

Tested by

no test coverage detected