Relative Content

Tag Archive for react-nativeexpo

React Native did not auto refresh

I’m currently developing a React Native mobile app using Expo Go, and I initially had no issues with auto-refresh in the emulator. Whenever I saved changes, the emulator would automatically refresh, which was really helpful during development.

Expo Unexpectedly Quits when saving .ts files on MacOs

As the title says. Has anyone else experienced this? I am using redux tool kit and redux-persist. It only crashes when saving files that end in .ts. These files are for redux and an API. I posted my package.json below. This is a bizarre issue and I can’t find a fix.

Expo dev-client with offline development?

I would like to be able to develop offline mode (disable the WiFi/Network connection), while keeping hot reload with Metro? If I do this, the bundle won’t load and i am not connected to metro.

“Error: Unable to activate keep awake” in react native app

I’m new to react native and I created an expo app that uses location and camera. I noticed that when I select “Only this time” instead of “While using the app” when asking for permission, whenever I lock the device, the app will reload and I will get the error Error: Unable to activate keep awake even if I’m not using keep awake and it is not installed. Is this something to do with permissions or the packages that I’m using.

Unwanted spacing with custom fonts in TextInput

I am using Expo 51 and I’m encountering a problem while using React Native’s TextInput.
It seems that there’s some unwanted space below the text when using custom fonts. The fonts itself are coming from Expo’s Google Fonts (Poppins).

React Native expo start

I have an expo go app, but when i start it using “npx expo start” and scan the QR code with my phone to start it on my android emulator, it’s not working it is telling me the request timed out, so i try using –tunnel but still giving me errors too long to connect and it is not starting

Issues with Custom Fonts and Tailwind Configuration in React Native with Expo and TWRNC

I’m currently working on a project using React Native, Expo, expo-google-fonts and TWRNC for styling. Despite setting up custom fonts correctly in the _layout.tsx file at the highest level of my application, I’m experiencing issues with fonts not being applied. It is worth mentioning that all other styles are being applied, only the font that is not being applied. Also, it seems that the tailwind.config.js file is not being recognized by the TWRNC library, because when I try to use any property that I added in the extend key of the theme object, an unknown or incorrect utility class error appears