How chitrakshtarun/hexsplash works
Main Components
• Mobile Frontend (React Native/Expo App): Represent the main app, including screens (from the “app” folder), layout configurations, and UI components.
• Components & Modules: Highlight sub-components in the “components” directory (e.g., EditScreenInfo, PaletteImage, etc.) that build the user interface and handle interactions.
• Native Android Integration: Display the native Android layer (in the “android” folder) that integrates with React Native. This includes the Android project structure with its Gradle builds, MainActivity.kt, and configuration files that bootstrap the app on Android devices.
• External Libraries/Dependencies: List key libraries such as expo-router (for navigation), expo-linear-gradient (for backgrounds), react-native-reanimated (for animations), react-native-gesture-handler, react-native-view-shot, and react-native-share. These are not only external dependencies but also influence how data flows (e.g., for transitions or sharing functionalities).
Relationships and Interactions
• User interactions on various screens (handled by components) invoke functions that update state and eventually re-render the palette.
Architectural Patterns & Design Principles
• File-Based Routing: Emphasize how Expo’s file-based routing (located in the “app” directory) governs navigation between different screens.