Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive setup for a mobile app template using Expo and React Native, along with supporting files and features to streamline development. Key changes include the addition of workflows, configuration files, README documentation, and several components to enhance app functionality and user experience.
Workflow and Configuration Setup:
.github/workflows/mobile-app-test.yml: Added a GitHub Actions workflow to test the mobile app on pull requests targetingdevelopandmainbranches. The workflow runs ESLint checks and installs dependencies.mobile-app/.nvmrc: Specified Node.js version22.14.0for consistent development environment.mobile-app/.gitignore: Added a.gitignorefile tailored for Expo and React Native projects, including exclusions for dependencies, build artifacts, and environment files.mobile-app/app.json: Configured app metadata and platform-specific settings, including icons, splash screens, and adaptive features for iOS, Android, and web.Documentation Enhancements:
README.md: Updated the main README to include descriptions of the mobile app and API templates, along with links to relevant technologies like Expo and React Native.mobile-app/README.md: Added a detailed README for the mobile app template, including setup instructions, development tips, and links to learning resources.Component Additions:
mobile-app/components/Collapsible.tsx: Implemented a collapsible component for displaying expandable sections with titles and content.mobile-app/components/ParallaxScrollView.tsx: Added a scroll view with parallax effect for headers, enhancing the visual appeal of screens.mobile-app/components/HelloWave.tsx: Created a reusable animated component that displays a waving hand usingreact-native-reanimated.Screen Layouts and Navigation:
mobile-app/app/_layout.tsx: Defined the root layout with navigation stacks and theme support based on user color schemes.mobile-app/app/(tabs)/_layout.tsx: Configured a tab layout with custom icons, haptic feedback for iOS, and adaptive styles for different platforms.mobile-app/app/(tabs)/index.tsx: Designed a "Home" screen with interactive steps for trying, exploring, and resetting the project.mobile-app/app/(tabs)/explore.tsx: Added an "Explore" screen showcasing features like file-based routing, platform support, and custom fonts.Utility Features:
mobile-app/components/HapticTab.tsx: Integrated haptic feedback for tab presses on iOS, improving user experience.mobile-app/components/ExternalLink.tsx: Created a component for opening links in an in-app browser on native platforms.