Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
import { useEffect } from 'react'
import { useNavigationContainerRef } from 'expo-router'
import { markRouterReady } from './deepLinkHandler'
export function DeepLinkGate() {
const navigationRef = useNavigationContainerRef()
useEffect(() => {
const markWhenReady = () => {
if (navigationRef.isReady()) markRouterReady()
}
const unsubscribe = navigationRef.addListener('state', markWhenReady)
markWhenReady()
return unsubscribe
}, [navigationRef])
return null
}