mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 01:41:26 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
649 B
TypeScript
23 lines
649 B
TypeScript
import { Stack } from 'expo-router';
|
|
import { Platform } from 'react-native';
|
|
|
|
/**
|
|
* Layout for share deeplink routes
|
|
*
|
|
* IMPORTANT: Disables screen optimization to prevent snapshot crashes
|
|
* during deeplink navigation on iOS
|
|
*/
|
|
export default function ShareLayout() {
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerShown: false,
|
|
animation: Platform.OS === 'ios' ? 'none' : 'default',
|
|
// Disable all screen optimization features that could cause crashes
|
|
freezeOnBlur: false,
|
|
// Disable native stack on iOS to prevent snapshot creation
|
|
presentation: 'transparentModal',
|
|
}}
|
|
/>
|
|
);
|
|
}
|