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

Function shouldUseNativeShare

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

Source from the content-addressed store, hash-verified

267 globalThis?.localStorage.mobile || globalThis?.navigator.maxTouchPoints > 1;
268
269export const shouldUseNativeShare = (): boolean =>
270 'share' in globalThis?.navigator && isMobile();
271
272export const shouldUseSocialAuthPopup = (): boolean => {
273 if (isIOSNative()) {

Callers 6

SharePicksModalFunction · 0.90
onShareFunction · 0.90
ShareActionsFunction · 0.90
useShareCommentFunction · 0.90
onShareOrCopyFunction · 0.90
onShareDevCardFunction · 0.90

Calls 1

isMobileFunction · 0.85

Tested by

no test coverage detected