141,405 questions
Tooling
0
votes
1
replies
28
views
React Native and expo for web
I wanted to ask you what you would suggest for this situation. I am developing a mobile app for a client with React Native and Expo. In addition, the client has just asked us if they can also have the ...
Advice
0
votes
3
replies
57
views
How to make a modal scrollable but also swipable at the same time?
I made this modal in react-native that gives it a swipe-down-close-effect. I used the react-native-gesture-handler to detect the swiping gesture and react-native-reanimated to animate the modal ...
0
votes
1
answer
35
views
How do I find error logs for an Expo app that crashes on launch when built for android?
The ios version runs just fine, as does the app when debugging in Expo Go. I usually try to avoid asking questions here but I am at a loss and on a time crunch at this point. I just need to know how ...
Best practices
0
votes
0
replies
19
views
How to implement email verification using Express JS with React native expo?
I am planning to build a project using an Express JS REST API with React native. I am wondering how email verification is usually handled with this kind of stack.
A flow is:
User registers with ...
0
votes
3
answers
31
views
Token Setup for @rnmapbox/maps in an Expo Project
I'm currently really struggling to correctly setup the token I need in my Expo project for @rnmapbox/maps.
The Documentation lacks any explanation regarding the tokens. It only mentions:
Before ...
0
votes
0
answers
21
views
React Native GooglePlacesAutocomplete shows “You’re calling a legacy API” error with new Places API key
I’m using React Native with the react-native-google-places-autocomplete package to implement an address search input.
I want users to search for an address and auto-fill Address / City / State / Zip ...
1
vote
0
answers
21
views
How to remove gaps between the header containers in react navigation?
I'm using expo-router, but the configuration is from react navigation.
When customizing the header with headerLeftContainerStyle, headerRightContainerStyle and headerTitleContainerStyle, I would like ...
0
votes
2
answers
36
views
Fonts not loading in React Native
Even though I've done everything correctly in my React Native project, the fonts won't load. What do you think I'm doing wrong?
export default function App() {
const [role, setRole] = useState(null)...
1
vote
1
answer
33
views
Timer is not resetting once the timer has completed counting down
I'm building a React Native App to run a pomodoro style focus timer based on a training course.
All the other behaviours that are expected when the timer has completed are running, but the timer ...
Best practices
0
votes
1
replies
24
views
How to bundle apps built by react-native/expo to have lower bundle sizes
I recently built an app to development using react-native/expo, and the bundle size came to 200mb. Asides the normal dependencies that come bundled with the initial application, I have else installed. ...
0
votes
0
answers
18
views
How to move gradle, avd, and other Android-related folders to external SSD?
I used to heavily involved with native Android development (Java/Kotlin) in the last 8 years. Now switch to ReactNative due to cross-platform issues.
My work machine is M2 MacBook (256 GB), and RN ...
0
votes
0
answers
34
views
build failed npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: [email protected] [closed]
Estava gerando um build e ele teve essa falha que não estou conseuindo resolver Install dependencies
1s
Running "npm install" in /home/expo/workingdir/build directorynpm error code ...
0
votes
0
answers
33
views
Socket connection issue in react-native and nodejs
I’m currently working on a logistics app that manages goods transportation in my area. The tech stack includes React Native for the mobile app, Node.js / Express.js for the backend, MongoDB as the ...
0
votes
0
answers
30
views
Expo dev-client / Metro: runtime "import declaration must be at top level" + Reanimated Babel-plugin crashes when bundling (Hermes / iOS)
The project was running perfectly for android on windows, the problem started when I moved to Mac trying to build for IOS.
Problem Summary
When running the Expo dev-client on iOS the app repeatedly ...
0
votes
1
answer
22
views
Metro can't resolve `os` module in React Native 0.82.1
I'm getting an error when starting Metro in my React Native project (RN 0.82.1).
Metro fails with:
Error: Unable to resolve module os from node_modules/metro-config/src/defaults/index.js
It points to ...