Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { Linking } from 'react-native'
// Catch both synchronous Linking validation and rejected open promises; either can fail a tap, and neither may escape its handler. The page sibling forwards through native.
export function openExternalLink(url: string): void {
try {
void Linking.openURL(url).catch((error: unknown) => {
report(url, error)
})
} catch (error) {
// Empty URLs throw before openURL returns a promise, so the promise catch cannot see them.
report(url, error)
}
}
function report(url: string, error: unknown): void {
console.warn('[platform] could not open a URL', { url }, error)
}