KI-AGENT: iOS Share Target mit Upload-Strecke ergänzen

This commit is contained in:
2026-08-08 21:50:52 +02:00
parent 21fdbb1cf8
commit 9a09c3f722
6 changed files with 924 additions and 186 deletions

View File

@@ -0,0 +1,13 @@
import { getShareExtensionKey } from 'expo-share-intent';
export function redirectSystemPath({ path }: { path: string; initial: boolean }) {
try {
if (path.includes(`dataUrl=${getShareExtensionKey()}`)) {
// Zuerst die normale Session laden; der Provider öffnet danach die Upload-Strecke.
return '/';
}
return path;
} catch {
return '/';
}
}