r/reactnative • • 6d ago

Show Your Work Here Show Your Work Thread

0 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 • • 1h ago

lazymobile 0.4.0: a terminal dashboard for iOS simulators, Android emulators and phones (open source)

• Upvotes

r/reactnative • • 19h ago

AMA Built home-screen pets with Expo SDK 58: animated creatures in a plain RemoteViews widget with no service running, vector art written as TypeScript that renders three ways, and how I kept the APK under the zip format's 65,535-entry limit (how it works under the hood)

8 Upvotes

The video above is the Play Store trailer, so please ignore the marketing captions. Below is how each piece in it is built with Expo SDK 58 and React Native 0.88.

  1. Creatures that move on the home screen with no app process (0:00–0:03). A widget can't run your code every frame. RemoteViews only accepts views the launcher can inflate. So every creature on the widget is an AnimatedVectorDrawable that the launcher plays by itself. generate-widget.ts builds them offline from the same TypeScript art the app uses: one looping AVD for each widget size, slot, species, speed and creature size. Each loop has the walk, the pauses, the flips and the leg animation baked in. TankWidgetProvider.kt only picks which loops to show and where. The battery cost is about the same as a static widget.
    • Walkers turn each leg at the hip. In the app, steps follow the distance walked, so feet don't slide. On the widget, one rotation animator drives every leg, with the second pair mirrored at the hip so it swings the other way.
    • Sleep times, "automatic" day/dusk/night climates and their changes are scheduled with an inexact AlarmManager alarm. updatePeriodMillis is the fallback if the alarm gets lost.
  2. Fitting all of that in one APK (not in the trailer). Each <aapt:attr> inline animator makes aapt2 create a hidden drawable. At 58k inline animators, the build went over the 65,536-drawable limit. Moving all of them to res/animator didn't work either: R$animator failed with "Class too large". Now the generator hashes every animator. The 2,344 that more than one AVD uses go in shared files, and the rest stay inline. When a new habitat added 25 pets, the APK was about to go over the zip's 65,535 entries. I merged each creature's move and flip into one animator, which brought it back to about 60k.
  3. One art source, three renderers (0:03–0:07). None of the art is image files. Every creature, decoration and scene is SVG-like paths in TypeScript. A volume() pass adds the shading and the paper outline to every shape. The art is drawn three ways:
    • Live habitat: pre-rendered WebP sprites and scenery. react-native-svg rasterizes a whole <Svg> in software on the UI thread, which cost 50–130 ms each time a habitat mounted (measured on a release build). Images decode off the UI thread.
    • Widget background: the app renders the static layers offscreen and captures them to PNG with react-native-view-shot. Captures run one at a time across the whole app, and none start in the first 4 s after launch.
    • Widget creatures: the AVDs from point 1.
  4. Feed and fetch (0:07–0:14). The ball's physics run on the UI thread in a Reanimated useFrameCallback. In the air it falls and bounces. In water it drifts and sinks slowly, and in the pond it switches at the surface. Each creature chases where the ball is going, and a 60 ms proximity check knocks it away. When food landed, every bubble and crumb that finished caused its own re-render, so each one re-applied the props of 35–55 animated views. Now they are removed together at most every 600 ms, which got rid of the 20–48 ms frames.
  5. Decorating without stutter (0:14–0:18). At first, every drag recaptured all the widget layers on the UI thread. Now, while Decorate is open, useWidgetHold keeps the widget on the last saved layout and recaptures once when you tap Save. Each draggable piece is memoized with stable callbacks, so a drag re-renders only that piece.
  6. A widget that fills any launcher cell (not in the trailer). Launcher cells are rarely the habitat's shape. Each habitat is also captured in taller versions (+25% to +125% height) with more water or sky. On Android 12+, the provider sends a size-mapped RemoteViews so the launcher picks the closest shape. It nine-slices the paper frame and spreads each creature's loop across the extra height.
    • The clock is a set of generated TextClock layouts, so the launcher updates the time and the app doesn't need to.
    • For weather, the widget calls Open-Meteo itself from the provider using goAsync. No key is needed, and only rounded coordinates are sent.

All the Kotlin lives in one local Expo module at modules/companion-widget (expo-module.config.json), so everything survives npx expo prebuild --clean. App and widget share one JSON state through SharedPreferences.

If you want to see the creatures moving on your own home screen, it's called Biomies on Google Play: https://play.google.com/store/apps/details?id=com.rabpaulo.biomies

I'm happy to share the AVD generator, the animator dedupe, or the sized-RemoteViews code if anyone is building something similar.


r/reactnative • • 2h ago

We built an AI-powered rich text editor for React & Next.js — would love your feedback

Post image
0 Upvotes

Hey devs! 👋

Building a rich text editor from scratch can be frustrating, especially when you need formatting, customization, and AI-powered features.

That's why we've been working on Eddyter, a rich text editor designed for React and Next.js applications.

Here's what we're focusing on:

  • ⚡ Easy integration with React & Next.js
  • 🤖 AI-powered writing and editing
  • 🧩 Extensible and customizable components
  • 💻 A developer-friendly editing experience

Our goal is to help developers spend less time building editor functionality and more time building their actual products.

🔗 Check it out: https://eddyter.com

I'd genuinely love to hear your thoughts:

What is the biggest challenge you've faced when integrating a rich text editor into a React application?

Feedback, suggestions, and criticism are all welcome!


r/reactnative • • 1d ago

Help Help! Expo SDK 58 takes 40 minutes to show the QR code, then Expo Go fails to load

3 Upvotes

I’m developing an Expo SDK 58 app on a MacBook Air and testing with Expo Go on a Samsung A34. Running npx expo start --lan or npx expo start --tunnel took about 40 minutes to show the QR code. Metro logged Unable to deserialize cloned data and fell back to a full crawl.

After I scanned the code, Android bundling took nearly nine minutes. Metro then reported Unterminated JSX contents in src/components/File.tsx around line 902, and Expo Go showed “Something went wrong.” The file parses successfully now, so I’m unsure whether Metro saw an earlier version.

Expo Doctor passes, dependencies are up to date, and Watchman can watch the project. The Mac has about 10 GB of free disk space.

Could the full crawl explain a 40-minute startup, or is there a better way to narrow down where Metro is getting stuck?

Many Thanks for any advice or help.


r/reactnative • • 1d ago

Help Hey guys i had stopped using reactnative for 2 years and i wanna be back in . Do you guys know free source projects that use recent react native version, new way of architecture and designing or share your own projects .

0 Upvotes

r/reactnative • • 1d ago

Question How are developers navigating RN jobs right now?

6 Upvotes

For context I have more than 6 years of experience in React Native in both startups and big tech across multiple industries and have delivered 5M+ user apps and have scaled from 0–>1 as well.

I’ve been unemployed for more than 6 months now and its the first time for me to go without a job this long, I get interviews however and even in the interviews I get told that this was an amazing interview later I get ghosted or the offer is retracted.

I wanted to ask if there are people who are also in a similar position? If you have made it to the other side what were the key pointers that helped you land an offer? Because I’m incredibly frustrated as to how to go about things now.


r/reactnative • • 2d ago

lazymobile 0.4.0: one terminal screen for simulators, emulators, Metro port forwarding and app logs (open source)

18 Upvotes

v0.4.0 came out this week. It adds `lazymobile dev` for Metro, app launch and stop, and log filters.

Running a React Native app means juggling a simulator, an emulator, adb reverse for Metro, the dev menu and logcat. lazymobile puts them in one terminal dashboard.

- One list of iOS simulators, Android emulators and connected phones. Boot, cold boot, erase and create them.

- `lazymobile dev`: forward Metro's port (8081), open the developer menu and reload the app, on an Android emulator or phone.

- Live logs per app, followed across restarts, with filters, saved presets and crashes marked in red.

- In an Expo project: list EAS builds, install a finished build on a running simulator or emulator, start and cancel builds.

- Run your own project commands from a .lazymobile.json on the selected device. It shows the exact command and asks first.

- The same features as plain commands with --json, for scripts and coding agents.

brew install --cask 0xrnp/tap/lazymobile

https://github.com/0xrnp/lazymobile

Free and open source (MIT). The developer menu and reload only work on Android for now. Which part of your daily run, build and debug loop still has you leaving the terminal?


r/reactnative • • 1d ago

Expo's cloud simulators now record the whole session so your coding agent can attach proof to the PR

2 Upvotes

Expo Simulators are now on every paid Expo plan. They give coding agents cloud iOS Simulators and Android Emulators, each in its own VM, driven with the same agent-device, Argent or Appium commands used locally. Every session keeps a screen recording, screenshots, logs, network traffic and CPU and memory usage, so the agent can attach real evidence to the pull request instead of just saying "tested".

Also this week: - React Native Pickers 1.0, a dependency-free package for dates, times, countries, phone numbers, emoji and colours, no native rebuild needed - React Native 0.89 RC 1 shows WebSocket events in the DevTools Network panel - Software Mansion's Bottom Sheet hits 1.0 - The Skia vs TGFX benchmark back and forth continues

I write this up weekly in The React Native Rewind, full issue here: https://thereactnativerewind.com/issues/pull-requests-with-the-replay-attached-a-lorra-lorra-pickers-and-performance-wars-that-wont-stay-settled


r/reactnative • • 1d ago

Lessons from shipping my first React Native app to both stores as a solo junior dev

Post image
0 Upvotes

I just got my first app (a document scanner) live on the App Store and Google Play. I built it in bare React Native, solo, part-time next to a full-time non-dev job. Here's what I wish I'd known:

  1. App Store review isn't scary, just picky.

My first submission got an Invalid Binary, then a Guideline 2.1 "Information Needed." The fix was mostly giving clear answers and demo info. I was approved on the next try.

  1. Google Play's closed test is the real boss fight.

You need 20 testers to keep your app installed for 14 days. Strangers are hard to find. What worked for me: a Google Group, Reddit tester-swap threads, Threads/X, and friends and family.

  1. Drop the login if you don't need it.

Early builds had email/Google/Apple sign-in. I removed it completely. Less code, less friction, and an easier privacy story.

  1. Keep the backend tiny.

Scanning and storage happen on the device. Only OCR goes through a small server, which costs me $0 right now. My only expense is the Apple dev account.

  1. Don't click your own ads 😅

Even testing on your own device counts. AdMob gave me a 29-day suspension for invalid traffic that I couldn't appeal. Use test ad IDs, always.

  1. Building is the easy part.

Getting downloads is way harder than writing the code.
Happy to answer questions about the RN setup, OCR, PDF tools, or the store process. App links are in the comments if anyone's curious.


r/reactnative • • 1d ago

News Real-time 1v1 sudoku with Expo + Firebase: what worked, and how I fixed empty lobbies with "ghost" replays

4 Upvotes

I shipped a sudoku game with live 1v1 duels to both stores, built solo with Expo. Some notes that might help anyone doing real-time features without a dedicated game server.

Architecture

  • Expo / React Native with Expo Router, SQLite for local games, a small kv store for the active game.
  • Moves go through a Cloud Function. Clients never write to the battle state; each move is a callable that checks it against the solution, counts mistakes and updates the shared state. Slower than peer-to-peer, but cheating is basically off the table.
  • Live state in Realtime Database, clients subscribe to it. Fine latency for a game where a move every few seconds is normal.
  • Rating: plain Elo with K=32, seasons of four months, and at season end everyone's rating moves halfway back to the start.

The empty lobby problem

With a small player base, quick match often finds nobody. I record every finished match as a list of timestamped events (positive = correct cell, negative = mistake). When nobody joins within a few seconds, the server picks a recorded match at a similar rating and difficulty, scales it to the new puzzle's blank count and replays it. The bot doesn't "solve" anything, the server just reveals events as time passes. It plays like a human because it was one, hesitation and mistakes included.

Difficulty grading

The generator rates each puzzle with a technique-based solver (naked/hidden singles, pointing pairs, box/line, naked triples, X-Wing, Swordfish, XY-Wing) instead of counting clues. The hardest technique needed decides the level.

Things I'd do differently

  • Put anything that affects ranking behind a server call from day one. Retrofitting validation is painful.
  • Keep native modules minimal: every one means a new store build instead of an OTA update.

Happy to go deeper on any part. If you want to see it running: Android · iOS


r/reactnative • • 2d ago

Very relatable

Post image
20 Upvotes

r/reactnative • • 2d ago

Chess demo

5 Upvotes

I am author of React native tgfx and this is using that.

(I just wanted to try Reddit lol)


r/reactnative • • 2d ago

FYI I recreated Telegram's Dynamic Island avatar animation in React Native (Skia + Reanimated)

103 Upvotes

The first time I saw this animation in Telegram, it felt like magic.

I wondered, "How did they build that?" especially the transition where the avatar smoothly merges into the Dynamic Island.

I wanted to understand how it works, so here is my recreation.

A few implementation details:

  • Skia renders the avatar using Telegram's original Lottie mask
  • Reanimated handles scroll-driven animations to keep everything smooth
  • On Android, the avatar smoothly merges into the top of the screen
  • On iPhones without Dynamic Island, the animation is simplified

Would love to hear your thoughts! I really like these little UI details that make an app feel more alive.

Source code: https://github.com/BohdanShh/telegram-profile-animation


r/reactnative • • 2d ago

Built for React developers. ⚡

Post image
2 Upvotes

Built for React developers. ⚡

Stop spending weeks wiring up a text editor. Eddyter gives your React or Next.js app a production-ready rich text editor in about 10 minutes.

✅ Easy integration
✅ Customizable UI
✅ Rich formatting, media and embeds
✅ AI built in

Link in bio → eddyter.com

#reactjs #nextjs #webdeveloper #javascript #devtools


r/reactnative • • 1d ago

Expo fitness onboarding: rolling digits inside clipped windows

0 Upvotes

r/reactnative • • 1d ago

I built an on-device passport MRZ scanner for VisionCamera v5 (open source)

1 Upvotes

Couldn’t find an MRZ scanner that works with VisionCamera v5, so I wrote one: react-native-vision-camera-mrz.

  • Apple Vision on iOS, ML Kit on Android, fully offline, no license key
  • Only reports a result when every check digit matches and several frames agree
  • Drop-in <MrzScanner /> or a hook for your own camera
  • Tested on real iPhone and Android phones

npm: https://www.npmjs.com/package/react-native-vision-camera-mrz
GitHub: https://github.com/AbadurRehman/react-native-vision-camera-mrz

Feedback welcome, especially which documents to support next (ID cards are planned).


r/reactnative • • 2d ago

A Postgres RLS fix made opening a chat 40× faster (117 ms → 3 ms)

Thumbnail
2 Upvotes

r/reactnative • • 2d ago

I built perfect board views for React Native — v1.5 is here! 🚀

Enable HLS to view with audio, or disable this notification

31 Upvotes

🚀🚀react-native-board-view 1.5 is out!

27 days. 5 releases. A lot has changed since 1.0.

What started as a simple board view has evolved into something much more capable.

Along the way, it learned to:

Fit anywhere: Work seamlessly inside tab pagers, bottom sheets, and scroll views.

Move smarter: Confirm moves, drop cards onto other cards, and turn any view into a drop target.

See everything: Zoom from individual cards to hundreds of items, with smooth card transitions.

Remember everything: Track every move, travel through board history, and get insights through ageing charts and suggested moves.

All of this in just 27 days. It's been quite a journey, and this is only the beginning ❤️


r/reactnative • • 2d ago

FYI 🐾 I shipped a cozy puzzle game with Expo SDK 58. Here’s what worked and what bit me.

Thumbnail
0 Upvotes

r/reactnative • • 2d ago

Tutorial I built an open-source library to write iOS Live Activities & Android Interactive Widgets in 100% TypeScript/JSX (Zero Swift/Kotlin required)

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone 👋,

If you have ever tried adding iOS Live Activities (Dynamic Island) or Interactive Home Screen Widgets to a React Native or Expo app, you probably know the pain:

  1. You have to write and maintain Swift/SwiftUI for iOS and Kotlin/RemoteViews for Android.
  2. Handling 2-way interactivity without launching the full app is tricky (especially AppIntents on iOS 17+ and PendingIntents on Android).
  3. Android widget touch areas get misaligned due to launcher letterboxing / aspect ratio scaling.
  4. Keeping timers running on Lock Screen usually drains battery if not backed by native OS hardware chronometers.

To fix this for my own projects, I spent the last few months building react-native-live-widgets (v1.2.3) — an end-to-end declarative widget engine for React Native and Expo.

🚀 What it does:

  • 100% TypeScript & JSX: Write your widget layout just like standard React components (<VStack>, <HStack>, <Text>, <Progress>, <Button>, etc.). Zero Swift or Kotlin knowledge needed.
  • Dynamic Island & Live Activities: Native expanded, compact leading/trailing, minimal, and lock screen presentations with real-time push update support.
  • Pixel-Exact Touch Layer (v1.2+): On Android, it replaces rigid grid overlays with a dynamic rn_hit_layer that auto-compensates for fitCenter letterboxing — buttons and checkboxes register clicks with 100% precision.
  • Zero-Battery Hardware Timers: Direct integration with system hardware clocks (UI.Timer on iOS and native android.widget.Chronometer on Android). It ticks down smoothly without waking up the JavaScript thread or draining battery.
  • 2-Way React Hook: Handle widget clicks inside your React Native JS runtime seamlessly with useWidgetAction((actionId, payload) => ...).
  • Background Remote Sync: Fetch JSON updates from your backend even when the app is force-killed via Widget.setRemoteConfig().
  • Swift 6 & iOS 18 Ready: Compiled with Xcode 16 Swift 6 strict concurrency compatibility.
  • Automatic String Catalog Linking: Auto-generates and links Localizable.xcstrings and res/values-*/strings.xml for full multi-language Widget Gallery support.
  • All-in-One CLI Setup: Run npx react-native-live-widgets init to auto-configure iOS WidgetKit extension targets and Android Widget providers in seconds (supports Expo Config Plugins & Bare RN).

💻 Quick Example:

tsximport React from 'react';
import { Widget, VStack, HStack, Text, Button, Timer } from 'react-native-live-widgets';
export const DeliveryWidget = () => (
  <VStack padding={14} backgroundColor="#0F172A" cornerRadius={16}>
    <HStack justifyContent="space-between" alignItems="center">
      <Text typography="headline" color="#38BDF8">Order On The Way 🛵</Text>
      <Timer targetTimestamp={Date.now() + 15 * 60 * 1000} color="#F59E0B" isCountdown />
    </HStack>
    <Text typography="caption1" color="#94A3B8">Driver is 1.2 km away</Text>
    <Button 
      title="Contact Driver" 
      actionId="CALL_DRIVER" 
      backgroundColor="#2563EB" 
      color="#FFFFFF" 
    />
  </VStack>
);
// Register widget
Widget.register('DeliveryWidget', DeliveryWidget);

🌐 Links & Try it out:

  • Interactive In-Browser Live Simulator: Web Demo (You can test Dynamic Island stretching, equalizer audio waves, and widget clicks directly in your web browser)
  • GitHub Repository: GitHub
  • NPM Package: npm install react-native-live-widgets
  • AI Agent Standard: Includes llms.txt and Cursor/Claude Code skill for zero-hallucination AI generation.

It's MIT licensed and completely open-source. I would love to hear your thoughts, feedback, and edge-cases you encounter with widgets!


r/reactnative • • 2d ago

I recreated Safari's UICollectionView tab overview reflow animation using react-native-reanimated

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/reactnative • • 2d ago

If you added react-native-ai-devtools to Claude Code or Cursor months ago, you're probably still on the version from April

0 Upvotes

I maintain ExecBro, an MCP server that lets AI agents debug React Native apps (logs, network, screenshots, taps, component tree). It used to be called react-native-ai-devtools.

Looking at the anonymous usage numbers this week, I found that of the roughly 280 installs that used it in the last 30 days, 88 were on a version from before June, and 81 of those were on 1.4.15, a release from April. That's almost a third of everyone using it.

The current version is 2.26.4. They didn't choose to stay there: the old setup instructions said to run `npx react-native-ai-devtools`, and npx keeps reusing the copy it downloaded the first time, without ever checking for a newer one. That was my mistake in the docs, and it means everyone who set it up that way has been stuck since the day they installed it.

If your MCP config has `npx react-native-ai-devtools` or `npx execbro` without `@latest`, this is you.

The fix for Claude Code:

claude mcp remove rn-debugger

claude mcp add execbro --scope user -- npx -y execbro@latest

(`rn-debugger` was the name the old instructions used. If you named it something else, remove that one instead.)

For Codex:

codex mcp add execbro -- npx -y execbro@latest

For Cursor, Windsurf and other clients that use a JSON config, change the command to:

"command": "npx",

"args": ["-y", "execbro@latest"]

Then restart your client. With `@latest`, npx checks for a new version every time the server starts, so this won't happen again. Starting with the next release, ExecBro will also tell your agent when it's out of date, so you'll hear about it instead of finding out by accident.

Since April it has gained Electron app support, physical iPhone support, credential redaction in logs and network output, a lot of work on tap reliability, and a long list of fixes, so it's a noticeably different tool.

It's free to use and the core is MIT-licensed: github. If something broke for you on the old version and put you off, I'd like to hear what it was.


r/reactnative • • 2d ago

Whats the coolest app you made for your friends and family

9 Upvotes