Fundament fuer den zoombaren Desktop-Workspace: - react-native-gesture-handler@2.14.1, react-native-reanimated@3.6.2, react-native-webview@13.6.4 (kompatibel mit RN 0.73.4 / Hermes / old-arch) - babel.config.js: reanimated/plugin als letztes Plugin - index.js: gesture-handler als allererster Import - App.tsx: GestureHandlerRootView um den gesamten Baum Hinweis: nach npm install einmalig `npm start --reset-cache` + nativer Rebuild (gradlew clean), sonst brechen die reanimated-Worklets still. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
9 lines
348 B
JavaScript
9 lines
348 B
JavaScript
// react-native-gesture-handler MUSS als allererstes importiert werden
|
|
// (vor allem anderen), sonst crasht die Gesten-Erkennung auf Android.
|
|
import 'react-native-gesture-handler';
|
|
import { AppRegistry } from 'react-native';
|
|
import App from './App';
|
|
import { name as appName } from './app.json';
|
|
|
|
AppRegistry.registerComponent(appName, () => App);
|