
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
expo-router-redux-template
Advanced tools
An expo template featuring expo-router, reduxjs-toolkit, react-native-reanimated, and redux-persist for cross-platform mobile app development.
This is a starter template for building mobile applications using Expo and React Native. This template is designed to help you kickstart your mobile app development by providing a solid foundation, project structure, and some commonly used features.
To create a new mobile app project using this template as an Expo template, follow these steps:
Create a new Expo project based on this template using the following command:
npx create-expo-app my-new-app --template expo-router-redux-template
or
yarn create expo-app my-new-app --template expo-router-redux-template
Navigate to the project directory:
cd my-new-app
To launch your app and run it on an emulator, physical device, or web browser, start the Expo development server using one of the following commands:
For Android:
yarn android
For iOS:
yarn ios
For web development:
yarn web
These commands will initiate the Expo development server and allow you to preview and test your app on different platforms.
You can then begin customizing the template to suit your project's requirements. Refer to the project structure and comments in the code for guidance.
The project structure follows the Ducks pattern recommended in the Redux documentation, combined with the typical layout for a React Native and Expo Router project. Below is a concise overview of the key directories:
/app
: Contains layouts and screens (or routes).
/assets
: Stores static assets such as images and fonts.
/common
: A collection of common utilities and components that can be reused across your app.
/hooks
: Custom React hooks designed specifically for your app.
/components
: Generic UI components that are reusable throughout your project.
/constants
: Houses various constants, including Colors, Fonts etc.
/features
: Individual features or modules of your application.
/feature
: A feature in the app
featureSlice.ts
: Holds Redux logic for the feature.
FeatureComponent.tsx
: A component related to this feature.
/store
: Includes redux-related files
configureStore.ts
: Responsible for the configuration and setup of your redux store.
reducer.ts
: Contains the root reducer.
Feel free to adapt and expand upon this structure as needed to suit the specific requirements of your project.
Feel free to customize and extend this template to build your mobile app. You can add new components, screens, Redux slices, and libraries to suit your project's needs.
Happy coding! 🚀
FAQs
An expo template featuring expo-router, reduxjs-toolkit, react-native-reanimated, and redux-persist for cross-platform mobile app development.
The npm package expo-router-redux-template receives a total of 16 weekly downloads. As such, expo-router-redux-template popularity was classified as not popular.
We found that expo-router-redux-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.