/r/reactnative
A community for learning and developing native mobile applications using React Native by Facebook.
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
/r/reactnative
I am new to Native Module building, using r/expo definitely made it approachable...combined with ChatGPT to help with Swift & Kotlin code too....
I think I know the answer already - NO! - but I need to double check: is there a way to improve development cycle times? Having to re-build on any change, adding a log or something complex, requires a full rebuild - obviously.
And I just need to double check....
Hi folks!
I am writing an app for AndroidTV and tvOS and looking for advice.
How to scale the interface for different screens correctly?
As far as I understand, AndroidTV has some feature of increasing the scale that is different from tvOS (Dimensions.get('window').scale
).
For example, a text box on the plate. I tried to solve this using the coefficient Dimensions.get('window').width / 3840
(since I know the necessary values for 4K) and applied it to all styles like padding: 32 * scale, borderRadius: 16 * scale, gap: 44 * scale
and others. But this does not work very well with fontSize
- some artifacts appear with HD screen
Can you share some advice on how to solve such problems correctly?
I want to build a 1on1 video call app using react native webRTC. Please suggest any good resources or tutorials.
Hello, I'm trying to run my app on my physical device. But when I run
npx expo run:android --device <device-id>
It tries to run on an emulator:
$ NODE_ENV=development npx expo run:android --device 2A210DLH2000E2
env: load .env.development
env: export EXPO_PUBLIC_API_BASE_URL
Error: could not connect to TCP port 5562: Connection refused
Error: /Users/seth/Library/Android/sdk/platform-tools/adb -s emulator-5562 emu avd name exited with non-zero code: 1
I would delete this emulator, but I have no idea how. It doesn't appear in Android Device Manager and when I try to query info about it, adb kicks back saying that it's offline.
Hey guys, I’m a full-stack dev working on a sports/fitness app in React Native for iOS and Android. It’s a fun project aimed at bringing people together—both casual and competitive athletes.
I’ve been working on this solo for a while, but it’s grown into something bigger than I can handle alone. I’m looking for people who want to help build, optimize, and shape the app together—great for learning, sharing experiences, and working on real-world features.
If this sounds like your thing, let’s connect, and I’ll share more details!
How continus get logs and spans in mobile app, to continuous logging user, I want to send logs file to my owner server.
My mac app has been rejected twice, this time I want to test my app in testflight but it is saying could not install (app name), and the requested app is not available or doesn't exist. I have mail apple support but no response. Need help guys.
So the native development frameworks allow the apps to directly access the files and maintain them open on the desktop without making copies of them?
I’m interested in React Native, Flutter, Noodl, and Wails (for Go). Do these all use web views where the underlying app is running as a web app?
Hello guys, I am developing app in react native / expo. What is good UI library to use. I need it to have those nice date/number pickers, and be stable and good looking by default.
I tried installing some expo packages, I get this error
Hello everyone,
I am currently building a list of React Native apps that are open source and published on one of the app stores.
(Repo link below)Thanks !
Why?
If you can access the code of an app that is published on a store then you can learn a lot about writing production-ready apps that is capable of handling millions of users. For example, Bluesky is open source and has over 5 million downloads on the Play Store.
If you know of any app that is:
You can either comment about it or contribute directly to the repository.
This will not only help me but also benefit the entire React Native developer community.
Link: https://github.com/Taussy10/React-Native-Open-Source-Apps
Thanks !
Is supabase a good option for backend. If not, what other better alternative is there? (Beginner)
Hello everyone, I am on a job search for React Native Developer profile, I am applying on a bunch of platforms but getting very less or no reply at all. I am sharing my resume here, please tell me if I can do any changes and also suggest me some best platform for application.
basically just want to control a motor from a phone on esp32 . i want to build my own app... do you guys recommend using react native or flutter? just wanted to double check?
i need to use bluetooth and wifi settings.
Hey there,
I'm looking into the best ways to handle heavy number-crunching in React Native, where JavaScript (Hermes/TypeScript) might not be ideal. I want to avoid writing native modules for Android, iOS, and HarmonyOS next if possible, so I'm exploring options like:
The modules would only need the inputs as parameters, so they don’t need access to React Native core objects or APIs and would return the results to the caller.
For those of you who’ve worked on something similar, what are the most practical options right now or in the near future? Is Static Hermes or Rust+WASM worth considering, or are there other alternatives I should look into?
Appreciate your thoughts! 😊
Hey React Native community!
I've been working on an app called Talk to Me (TTM), and I'm excited to invite you to beta test it. The app’s goal is to bring people together, help them feel heard, and create a space without the usual risks or toxicity.
What makes TTM different?
This is an early version, so I’d love for you to:
The app was built using React Native + Expo, so your insights as fellow developers would be super valuable.
If you’re interested, drop a comment or DM with your platform (android or iOS), and I’ll send over the download link!
I recently cloned a React Native project repository, and I'm facing issues while trying to run the app on Android. When I execute the command npm run android
, I encounter the following error:
> coRider@0.0.1 android
> react-native run-android
info A dev server is already running for this project on port 8081.
info Installing the app...
:ReactNative:Running '[node, D:\Code\INTERNN\CoRider\corider-hybrid-application\node_modules\@react-native-community\cli\build\bin.js, config]' command failed.
FAILURE: Build failed with an exception.
* Where:
Script 'D:\Code\INTERNN\CoRider\corider-hybrid-application\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 401
* What went wrong:
A problem occurred evaluating script.
> Process 'command 'node'' finished with non-zero exit value 1
BUILD FAILED in 1s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
npx react-native doctor
, which shows everything as correct:npm run android
.The error occurs in the native_modules.gradle
script, with the message:
Process 'command 'node'' finished with non-zero exit value 1
I tried cleaning caches with npx react-native clean
and clearing the Metro bundler, but the issue persists. I also tried manually clearing Gradle and rebuilding the project but without success.
npx react-native doctor
(no errors reported).gradlew clean
in the android
folder (using the correct command for Windows).Any help on resolving this issue would be appreciated. Is there any specific configuration or missing setup I need to check? I'm also curious if there are any known issues related to this native_modules.gradle
file for this version of React Native.
Hey yall, I am a react native dev with close to 1 year of experience at a mid sized start up. I wanted to ask what is required from an extremely good react native dev or a mobile dev with this much experience.
Hello !
I'm actually encountering an issue with my expo go,
i cannot connect locally by scanning the QR code anymore,
I get a timeout after some minute,
Only tunneling works
Do you have solutions to that issue ?
I'm trying to get a width to animate whenever a prop changes in my expo project. The code looks something like this. The value does change, and the width of the view does increase, but it doesn't animate, it just jumps to the new width. There is also some bugginess, where the width changes the first time the prop changes, doesn't change the second time, then changes every time after that. I'm sure I'm using some bad pattern which messes it up, but I haven't seen many docs about this usecase where animation is triggered by prop change rather than an event.
const { example } = props;
const width = useSharedValue(0);
useEffect(()=>{
width.value = withSpring(width.value + 0.1)
}, [example])
{...}
<Animated.View style={[styles.someStyle, {backgroundColor: someColour, width: `${100 * width.value}%`}]} />
Been battling trying to get a TextInput's selectionColor to work thats wrapped inside an Animated.View with the react-native-reanimated dependency.. literally will not work what so ever.. with selectionColor:
<Animated.View style={[styles.passwordContainer, confirmPasswordStyle]}>
<TextInput
style={styles.passwordInput}
placeholder="Confirm Password"
placeholderTextColor={styles.placeholder.color}
value={confirmPassword}
onChangeText={setConfirmPassword}
secureTextEntry={!isPasswordVisible}
onFocus={() => setFocusedInput('confirmPassword')}
onBlur={() => setFocusedInput(null)}
selectionColor="#1e6091"
/>
</Animated.View>
I have never used expo for building anything before, but I'm considering it now.
What's the disadvantages and limitations I should be aware of? Can bare workflow mode handle all third party libraries
I want to make like this but don't know how somebody help pls
Hey, I want to create a mobile application that will have signups, payments, google cloud apis, and open ai api using React Native. Currently I have basically zero programming knowledge and I am doing CS50x. How should I learn React Native and build this app as fast as possible?
I’ve noticed that some apps on Android can display my email address even though there’s no option to log in or register. How is this technically possible?
I’m asking because I’m curious and would like to implement a similar feature in an app I’m developing. I’m planning to integrate Adapty as a wrapper for Google Billing System and App Store payments, but in Adapty's documentation, the user's email isn’t returned when creating a user profile.
Additionally, in the apps I’ve seen, the email address is displayed in the user’s profile (along with the username), but it’s not editable. It’s just shown for reference.
Could anyone explain how this works or point me to resources that might help?
Thank you in advance!