r/reactnative • • 7h ago

Show Your Work Here Show Your Work Thread

1 Upvotes

Did you make something using React Native and do you want to show it off, gather opinions or start a discussion about your work? Please post a comment in this thread.

If you have specific questions about bugs or improvements in your work, you are allowed to create a separate post. If you are unsure, please contact u/xrpinsider.

New comments appear on top and this thread is refreshed on a weekly bases.


r/reactnative • • 8h ago

News This Week In React Native #308: NitroUI, Expo Router, Fabric, RTL, DevTools, Zalando, Safe Areas, Metro, Agents

Thumbnail
thisweekinreact.com
17 Upvotes

r/reactnative • • 8h ago

Question What made you switch state management in React Native, or stick with your first pick?

4 Upvotes

I started with Redux and it worked fine for a while, but the boilerplate started to feel heavy for a smaller app. I tried Zustand next and liked how much simpler the setup felt. For those of you who switched, what finally pushed you to change? And if you stayed with your first pick, what kept you there?


r/reactnative • • 53m ago

Help me to implement offline maps

1 Upvotes

Is anyone here who has experience in implementing offline maps in a react native app while keeping app size minimum.


r/reactnative • • 7h ago

Questions Here General Help Thread

1 Upvotes

If you have a question about React Native, a small error in your application or if you want to gather opinions about a small topic, please use this thread.

If you have a bigger question, one that requires a lot of code for example, please feel free to create a separate post. If you are unsure, please contact u/xrpinsider.

New comments appear on top and this thread is refreshed on a weekly bases.


r/reactnative • • 9h ago

I made a splash screen CLI for React Native: one image in, iOS + Android splash out (SVG to vector drawable, free dark mode, Expo plugin)

0 Upvotes

I kept losing an afternoon to splash screens on every new app: the LaunchScreen storyboard, an Android theme, installSplashScreen in MainActivity, five density PNGs, a dark variant of all of it, and then finding that Android 12+ cropped the logo to its icon circle anyway.

So I wrote react-native-splashkit. It's a CLI that writes the native files plus a small TurboModule to hide the splash from JS.

npm install react-native-splashkit
npx react-native-splashkit init

import { hide } from 'react-native-splashkit';

useEffect(() => {
  hide({ fade: true });
}, []);

What it does:

  • One image, both platforms. It sizes the logo for iOS and for Android 12+'s 192 dp icon circle, so it isn't cropped.
  • SVG logos become Android vector drawables instead of five PNGs. If the SVG uses something VectorDrawable can't draw, it falls back to PNGs and says why.
  • Dark mode is a flag (--dark-background, --dark-logo), no licence key.
  • Full-screen image mode (--mode full) on both platforms. On Android the system splash can only be a colour plus an icon, so it shows the colour first and the image right after.
  • preview renders the splash to PNGs (phone, foldable, tablet) without building the app.
  • doctor checks the setup and exits non-zero in CI when the native files don't match your config.
  • Edits are idempotent, and undo reverts them. --dry-run and --json are there too.
  • Expo config plugin for prebuild/EAS, in app.json plugins.
  • show() puts the splash back later (e.g. during sign-out). The OS splash can't come back, so it uses an overlay copy.

How it compares, from each project's docs:

splashkitreact-native-bootsplashexpo-splash-screen
Image formatsPNG, JPEG, SVGPNG, SVGPNG
Dark modeFreePaid licence keyYes
Full-screen imageiOS and AndroidNoiOS only (legacy option)

bootsplash is mature and widely used. If it works for you, there's no reason to switch.

Limits, so nobody is surprised:

  • New Architecture only, React Native 0.88+, Expo SDK 58+.
  • Android is tested (bare and Expo, release and debug builds). iOS builds in CI, but I haven't run it on a device or simulator yet. If you try it on iOS, an issue or a comment either way would help a lot.
  • It's 0.1.0, so options may still change before 1.0.

One Android detail I learned the hard way: if you hold the system splash with setKeepOnScreenCondition until JS is ready, it only blocks the activity's own window. Any other window the app shows first, such as RN's debug "Loading from Metro" banner or a dialog, makes Android drop the splash, and you get a black screen until your hide. splashkit hands over to an overlay copy right after onCreate to avoid that.

npm: https://www.npmjs.com/package/react-native-splashkit

Feedback welcome, especially from people who have fought with splash screens on foldables or tablets


r/reactnative • • 9h ago

Help Looking for a second pair of eyes on an open-source Expo + BLE health app

Thumbnail
gallery
0 Upvotes

Side project, open source, looking for React Native people.

It's an Expo app that talks to a fitness band (a WHOOP MG) over BLE with react-native-ble-manager, stores everything in expo-sqlite with SQLCipher turned on, and does all the analysis on the device, including Android widgets, Health Connect and Apple Health, and background sync on Android. Every screen is in English and Dutch. Every screen also has to hold at 360 dp with font scale 1.3. That one has been humbling.

The core is plain TypeScript. Protocol decoder, analytics and storage are shared with a Node CLI, and a simulated band means you can work on it without owning the hardware.

What I'd really like is someone who has shipped BLE or background work on iOS. A few issues are tagged "good first issue". One is literally: run the iPhone build on a real iPhone and tell me what happens.

Screenshots are from the built-in demo band, so the data is made up.

https://github.com/DarioDML/OpenHoop


r/reactnative • • 13h ago

That is my portfolio using react

0 Upvotes

r/reactnative • • 13h ago

Help Help please: $5 worth of free credits for the first 30 testers, Will test your app back !

Post image
0 Upvotes

Love AI is already live on iPhone with paying users, and we're now launching on Android. We would love you to test.

  1. Join the group: https://groups.google.com/g/loveai-testers
  2. Opt in: https://play.google.com/apps/testing/com.trueloveai
  3. Download: https://play.google.com/store/apps/details?id=com.trueloveai
  4. In the app, sign in with Google using the same Gmail you used to join the group to get $5 worth of credit

🎁 The first 30 people who opt in get $5 of free credits. Sign in with Google in the app and comment or DM me once you're in.

Please keep it installed for 14 days and tell me anything that feels off. Drop your link and I'll test yours too πŸ™Œ

IOS app: https://apps.apple.com/us/app/love-ai-soulmate-companion/id6737462274


r/reactnative • • 1d ago

I built a React Native bug reporter whose reports my own server can't read

Post image
3 Upvotes

Testers tend to send bugs as "it doesn't work" plus a blurry screenshot, and then you spend half a day asking which screen, what they tapped, what they typed.

So I built Nabrila. The tester shakes the phone, draws on the screenshot and hits send. You get a link with everything: a short replay, the taps, the console, the network calls. If you use React Navigation or Expo Router it picks up the screen names on its own. The video above is the example report, you can open it without signing up: Nabrila

The part I spent the most time on is the encryption. The report is encrypted on the phone and the key only lives in the link (after the #), so on the free plan my server just stores bytes it can't read. Happy to go into the details in the comments.

It's @nabrila/react-native on npm, MIT. Needs the New Architecture (RN 0.82+), and with Expo you need a dev build, it won't run in Expo Go. Free plan is 1 app and 50 reports a month.

It's not meant for production crashes, Sentry is better for that.

Would you actually use something like this with your testers? If not, what's missing?


r/reactnative • • 1d ago

I want to make a blogging app. Simple CRUD stuff. Should I go with react native or capacitor.js?

0 Upvotes

r/reactnative • • 1d ago

FYI Built cloud iOS Simulators for coding agents β€” remote Mac builds + shareable browser links from one CLI command

12 Upvotes

r/reactnative • • 1d ago

Help Developing on Mac, running android simulator is maxing my RAM

4 Upvotes

Hi,

I am developing a react native expo app on Macbook Air M4 with 16GB of RAM.

And whenever I am running an android simulator, either for actual build or for simulator its maxing my RAM, especially during the startup. After that it's sitting quite ok at about 5GB of RAM (which is still A LOT). But during the startup it can reach to 16GB of RAM.

I am using Android Studio built in Pixel 10 emulator.

Is there any alternative or something I am doing wrong here?


r/reactnative • • 1d ago

Test Local Apps on a Real Phone Over Cellular Data

Thumbnail instawormhole.com
1 Upvotes

r/reactnative • • 1d ago

Code Splitting - Lazy Evaluation in React Native

2 Upvotes

I have built a bare react native cli toy project to study how lazy evaluation works and how it effects app cold start and TTI.

This is the nested navigation architecture of the app. I added some expensive computations in inner screens just to test the lazy evaluation.

App

└── RootNavigator (native stack)

β”œβ”€β”€ MainTabs (bottom tabs, lazy={true})

β”‚ β”œβ”€β”€ HomeTab β†’ HomeStack

β”‚ β”‚ β”œβ”€β”€ Home

β”‚ β”‚ └── HomeDetail

β”‚ β”œβ”€β”€ ProfileTab β†’ ProfileStack

β”‚ β”‚ β”œβ”€β”€ Profile

β”‚ β”‚ β”œβ”€β”€ ProfileSettings β†’ chartData

β”‚ β”‚ └── AccountSecurity β†’ securityCrypto

β”‚ └── AnalyticsTab β†’ AnalyticsStack

β”‚ β”œβ”€β”€ AnalyticsDashboard β†’ heavyMath (+ 50M local loop)

β”‚ β”œβ”€β”€ Reports β†’ reportEngine

β”‚ └── DeepInsights β†’ insightsEngine + chartData

└── AppSettings (modal)

referred the following guide to implement this:

https://reactnative.dev/docs/optimizing-javascript-loading

Problems:
-> while the TTI and cold start times increased drastically for initial screens, lazy evaluation of inner screens is being effected.
Eg: when we click on a button navigating to an inner screen that has a lazily evaluated js code, the button stays unresponsive for a few seconds before navigating. Also the TTI of the screens has also increased.

I tried preloading the screens which are immediate siblings but while their code is being evaluated the currently active screen stays unresponsive.

Technique used: Inline requires, Lazy Loading, Hermes engine

Expensive computations employed in screens:
I know these computations are an overkill but its just to test.

I would appreciate any suggestions, insights or any knowledge you could share on this.

ModuleWorkScale
AnalyticsScreenΒ (inline)SumΒ 0…n50MΒ iterations
heavyMathRolling checksumΒ (checksum + i*31) % 1e9+740M
reportEngineAggregate + sample rows35M
securityCryptoFNV-style hash over seed30M
chartDataArea + sparse points28M
insightsEngine1200Γ—120 matrix + extra burn25M

r/reactnative • • 2d ago

[Experiment] Controlling an iOS Simulator from an Android phone

76 Upvotes

Hey r/reactnative,

I've been experimenting with something new lately.

The idea is to control an iOS Simulator running on my Mac directly from an Android phone's browser.

You just scan a QR code, connect over Wi-Fi, and the simulator shows up on your phone. No extra app installation needed.

I've got the first version working at around 30–40 FPS. Still figuring out how to push it closer to 60 FPS and make the experience smoother.

Here's a quick look at where it's at.

I'm curious, would you find something like this useful in your React Native workflow?


r/reactnative • • 2d ago

Is NitroUI a React Native properly done?

11 Upvotes

Expo's Exact is a fully new contract based paradigm. NitroUI though is pure React with some on going efforts to interop with existing Expo/Nitro modules.

I'm seeing crazy demos where NitroUI is faster than Exact and even native?!?

This is very cool. Thoughts?


r/reactnative • • 2d ago

Question Making a 3D game with React Native

6 Upvotes

I've been writing React Native for many years, and for the last year or two I've been really into making games. I made a few with expo-gl and Skia, and they turned out pretty well. Of course I wrote my own tools to measure FPS on each screen and kept optimizing those parts. My first versions crashed a lot. Now my games are pretty stable.

That gave me the courage to try a 3D game, so I combined Three.js with React Native. I'll be honest: after the first attempts I lost my motivation. I told myself "3D just doesn't work with React" and put the project on hold. Then the excitement came back and I started again. I worked really hard on optimization and finally got to a point I'm happy with.

I also tested it on cheap Android phones and the results were good, but I didn't want to take any risks for the launch, so for now it's only out on iPhone.

Have any of you tried making a 3D game with React Native? What problems did you run into, and how did you solve them?

My game:
https://apps.apple.com/app/id6830497300


r/reactnative • • 2d ago

Question React Native OTA updates: best practices for shipping safely

Thumbnail
bitrise.io
6 Upvotes

I work at Bitrise and we wrote this up for our blog, so there's a mention of our CodePush service at the end. One of our engineers wrote up how he ships OTA updates without breaking prod. It covers version targeting, like capping every range (>=2.0.0 <=2.2.25) so an update can't land on a future build you never tested it against. It also gets into install behaviour, staged rollouts, and why you should think twice before rolling back a DB schema change.

Curious which best practices we've missed, or what you'd add from your own releases.


r/reactnative • • 1d ago

Live object detection in a React Native camera with VisionCamera, TFLite and Skia, plus an AGP 9 bug that silently broke it on Android

1 Upvotes

I ship a bar inventory app (BarScan) built on Expo 58 and React Native 0.88. The camera screen finds a bottle in the live preview and draws a box around it. Some notes, in case they save someone a week.

**The pipeline**

  • `react-native-vision-camera` for frames, with the resizer plugin to shrink each frame to the model's input size.
  • `react-native-fast-tflite` runs a small YOLO model in a frame processor worklet.
  • `@shopify/react-native-skia` draws the box and the aim line on top of the preview.
  • Nothing leaves the phone at this stage. The photo is uploaded only when the user taps the shutter.

**The Android bug**

After moving to AGP 9, Android showed the camera but no boxes. No crash, no log line, nothing in Sentry. iOS was fine.

The cause: the resizer plugin (5.2.4) ships a Vulkan compute shader and relied on AGP's built-in shader build step. AGP 9 turns that step off by default. The APK was built without `assets/shaders/Resizer.comp.spv`, the resizer went into an error state, and every frame was dropped quietly.

How to check: unzip your APK and look for `assets/shaders/Resizer.comp.spv`. If it's missing, that's your bug. Upstream fixed it in 5.2.5. I backported that with a patch until I could upgrade, and added a test that fails the build if the shader file is missing.

General lesson: after any AGP or native dependency bump, check that native libraries still package their generated assets. And log the error state of every frame processor plugin. A dropped frame should not be silent.

**Offline first**

Bar cellars have no signal, so the phone can't depend on the server.

  • Inventory is cached in SQLite on the device.
  • Every scan and adjustment goes into an outbox and syncs later.
  • The server keeps an event log as the source of truth. Stock levels are computed from the log.
  • Quantities are stored as integers in base units (ml, grams, each). Display units never reach storage. This removed a whole class of rounding bugs.

Happy to go deeper on any of these. If you run YOLO in a frame processor too, what frame rate do you get on mid-range Android?


r/reactnative • • 2d ago

NitroUI has entered the game

Thumbnail x.com
28 Upvotes

A next-generation framework to build native mobile apps with React and JavaScript.


r/reactnative • • 1d ago

My AI kept stopping at "Allow notifications?" So we let it drive the whole test phone.

0 Upvotes

I'm the lead dev on Buoy.

My AI could test our app on a real phone. But it could only see inside the app. A phone pop-up stopped it every time. Then the phone locked. Then a step needed Settings. Someone had to sit there and tap one button.

So we built Phone Control. It's free.

  • It reads every button on the screen by name, including the phone's own pop-ups.
  • It taps Allow and opens Settings, the home screen and Mail.
  • Each tap is a real touch. Typing uses the real keyboard.
  • You save the passcode once on your Mac. Buoy types it when the phone locks. Your AI never sees it.
  • It won't tap pay, buy or subscribe. Outside your app, it won't tap send, delete, erase, reset or call.
  • It runs saved step lists and records the screen.
  • No Buoy app goes on the phone. You pair it once.

We timed it on an iPhone SE and an iPhone 14 Plus. A tap by label takes 1.2 to 1.6 s. An unlock takes about 6 s.

Fair notes:

  • Use it on test phones, not your own phone.
  • On iPhone it needs Xcode. It puts Appium's WebDriverAgent helper on the phone.
  • On Android it needs adb with USB debugging.
  • On Wi-Fi, the phone stays home on a charger, and your Mac stays on.
  • iPhone screen video needs the cable. Android video works on Wi-Fi.
  • After a restart, a person has to unlock it once. Face ID needs a face, so Buoy types the passcode.
  • Sam, the lake and the numbers in the film are made up.

Try it: npx -y @buoy-gg/mcp@latest init, then npx @buoy-gg/mcp phone-pair https://buoy.gg/buoy/latest/docs/tools/phone-control

What step still makes your AI stop and wait for you?


r/reactnative • • 2d ago

Ai training on your data/app

Thumbnail reddit.com
0 Upvotes

r/reactnative • • 2d ago

FYI Full On-Device Voice2Voice Agent with Wake Word for React Native

2 Upvotes

Hi all,

First, I want to disclose that I am affiliated with a brand.

We released a full on-device voice-to-voice agent for react-native β€” no cloud, no tokens.

It has the following capabilities:

  1. Wake word detection.
  2. Speaker identification / isolation.
  3. High-accuracy STT and exceptionally natural-sounding TTS.

All working seamlessly together.

To test it:

GitHub repo:

https://github.com/frymanofer/ReactNative_DaVoice

There are several examples in the repo:

  1. example_car_agent – Full on-device voice-to-voice agent for car control.
  2. expo – An Expo app example.
  3. example - example to cover all features together or separately.Β 

Please note for some of the examples you would need git-lfs!

npm packages:

License:

We offer free licenses for independent non-commercial projects, as well as special support and commercial terms for startups and small businesses.

We would love your feedback!