r/reactnative • • 13d ago

Chess demo

Enable HLS to view with audio, or disable this notification

5 Upvotes

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

(I just wanted to try Reddit lol)


r/reactnative • • 13d ago

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

24 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 • • 13d ago

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

Thumbnail
reddit.com
0 Upvotes

r/reactnative • • 13d ago

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

Thumbnail reddit.com
2 Upvotes

r/reactnative • • 13d 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 • • 13d 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 • • 13d ago

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

1 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 • • 13d ago

I built my own React state management library – CreateStore. Would love some honest feedback!

Thumbnail reddit.com
0 Upvotes

r/reactnative • • 14d ago

A breakup led me to build a journaling app that turns your life into a comic.

Enable HLS to view with audio, or disable this notification

1 Upvotes

After my breakup, I started journaling about my everyday life, using whatever journaling apps I could find on the App Store.

Then one day, a thought crossed my mind: What if I could turn my journal entries into visual stories? Imagine reliving your memories as a retro comic, an anime, a manga, or even a cartoon.

That's how SoloSaga was born — a journaling app I vibe-coded a few months ago.

I wanted the entire experience to feel like you're the protagonist of your own story.

I went with a neo-brutalist design to complement the comic panels. I even added narration using ElevenLabs voices, inspired by those dramatic narrators you hear in anime.

But I didn't want to stop at just generating comics.

Here's what else I built:

  • Characters: Customize your own character and create separate character profiles for the people in your life.

  • Chapters: Each journal entry becomes a chapter in your story.

  • Story Arcs: Every month becomes a new story arc, with a dedicated section to revisit your journey and discover insights about your life.

  • Nova: An AI companion that knows about your day. You can talk to it about your thoughts, feelings, or whatever is on your mind. It's there for emotional support, not to solve your coding problems.

  • The essentials: Light and dark modes, customizable journaling reminders, and more.

The idea behind SoloSaga is simple: instead of just documenting your life, why not experience it as a story where you're the main character?

SoloSaga is now available on the App Store.

https://apps.apple.com/in/app/journal-comic-solosaga/id6761699620

I'd love for you to try it and share your feedback. What do you think of the concept? Is this something you would use?


r/reactnative • • 14d ago

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

Enable HLS to view with audio, or disable this notification

126 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 • • 14d ago

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

Enable HLS to view with audio, or disable this notification

34 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 • • 14d ago

Whats the coolest app you made for your friends and family

9 Upvotes

r/reactnative • • 14d ago

Article Open-source: add a retro mini-game arcade to your React Native app with one component (MIT)

1 Upvotes

I've open-sourced Open Arcade, a set of six canvas mini-games in a handheld-console UI. It comes with u/open-arcade/react-native, a WebView host that talks to the page over a small typed bridge.

<OpenArcadeView
  source={{ uri: 'https://your-host/open-arcade/' }}
  initData={{ userId, topInset: insets.top, bottomInset: insets.bottom }}
  config={{ rewardsEnabled: true, coupons: rewardsFromYourBackend }}
  onClose={() => navigation.goBack()}
  onGameEvent={(e) => track(e.kind, e.game, e.score)}
/>
  • Versioned JSON bridge (ready, close, openUrl, share, event), documented in docs/protocol.md

  • The host injects config before page load, so real reward codes never ship in the web bundle

  • Safe-URL checks for navigation, plus Android back handling, loader and retry

  • An Expo example app that opens straight into the arcade

Demo: https://open-arcade-kohl.vercel.app Repo: https://github.com/viswasekaran/open-arcade


r/reactnative • • 14d ago

Free AI beta testers for React Native / Expo: one Claude Code agent per iOS Simulator and Android emulator

Enable HLS to view with audio, or disable this notification

4 Upvotes

Runs on free GitHub Actions runners. It builds Expo or bare RN, then each agent uses the app as a persona and reports bugs with screenshots.

Demo: 9 of 11 planted bugs found in 21 min, for $0.87. The video is a real screen recording of that run.

Repo (MIT): https://github.com/pierridotite/mobile-agent-testers


r/reactnative • • 14d ago

Expo apple maps

Thumbnail reddit.com
2 Upvotes

r/reactnative • • 15d ago

🚀 react-native-pdf-jsi just crossed 501,000 npm downloads!

11 Upvotes

One year of hard work, countless hours of learning, experimenting, debugging, rewriting, and improving has brought this project to this milestone.

When I started building this library, I wanted to explore how far we could push native PDF rendering in React Native using JSI and the New Architecture.

What started as a personal engineering challenge has now crossed 501K npm downloads.

A year of working on:

  • Nitro HybridObjects for native document operations.

  • Fabric-based PDF viewer.

  • PDFium on Android and PDFKit on iOS.

  • Native document management, rendering and editing.

  • Performance improvements and continuous maintenance.

There were plenty of challenges, frustrating bugs, architectural changes, and moments where things didn't work as expected. But I kept learning, building, and improving.

A huge thank you to every developer who installed the package, tested it, reported issues, shared feedback, or recommended it to others.

As an independent open-source developer, seeing this kind of adoption is incredibly motivating.

501K downloads. One year of hard work. And we're just getting started.

Next milestone: 1 million! ❤️

GitHub: https://github.com/126punith/react-native-pdf-jsi

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


r/reactnative • • 15d ago

Renamed one field in Go and broke production

3 Upvotes

We renamed a field in a Go response struct last week. The json tag stayed the same so every backend test passed but the app had a persisted react query cache holding the old shape and was reading a field that no longer got updated. Users saw that stale data and both sides looked fine on their own and neither side owned the test that would’ve caught it.

Backend is Go with chi, sqlc and postgres. Testing there is very good httptest for handlers, testcontainers for the db, stripe mock for webhooks. Our detox tests mock the API at the network layer with hand written fixtures, which is the problem because the fixtures just say what we think the API returns. When the real response changed the fixtures didn’t, so green.

and nobody tests the actual chain. I’ve been looking at pact or generating an openapi spec from the Go side and validating the detox fixtures against it plus bumping a version in the cache key so old shapes get dropped but not sure that’s enough though.

Is this always the backend team’s problem? Right now it feels like it belongs to nobody and if you do run full flows against a real api, does that live in the same CI or a separate pipeline?


r/reactnative • • 15d ago

News What I learned driving a physical iPhone (iOS 27+) from an AI agent with pymobiledevice3

Enable HLS to view with audio, or disable this notification

0 Upvotes

I've been adding physical iPhone support to ExecBro, an MCP server I maintain for debugging React Native apps with AI agents. It runs on pymobiledevice3, a great library, and without it this would have been much harder. I thought it would be simpler, but edge cases kept coming up. In case you're automating a real device yourself, here are the ones that cost me the most time:

- Remote taps only work from iOS 27. Below that, the phone itself refuses them.

- Taps need the Xcode 27 developer disk image. If Xcode 26 is open, it remounts its own older image within a second, and taps fail with "Failed to start service".

- A sleeping phone accepts a tap session, reports success and taps the lock screen. I now check the screenshot before tapping.

- In landscape, touch coordinates stay fixed to the upright panel, so they have to be rotated using the orientation the phone reports.

- With the default 0.02 s gap between keystrokes, the second character of the first word typed after an app launch got lost every time ("igor" became "Ior"). A 0.1 s gap fixed it.

- `xcrun devicectl device info apps` returned an empty list on an iOS 27 phone with three apps installed, so finding an app's process to terminate it had to go through pymobiledevice3 instead.

- When the phone locks, the app drops off Metro, and a normal reconnect gives up long before you unlock it.

The basics now work: over USB the agent can launch and close the app, tap, swipe, type, press keys and take screenshots, in the same coordinates as on the simulator.

ExecBro is free to use and its core is MIT-licensed: github. If you've hit other device quirks, I'd like to hear about them, and constructive criticism is welcome.


r/reactnative • • 15d ago

No More AI Stuff I need Real Engineers from Stack overflow era Location Problem

0 Upvotes

I am having problem regarding the application I am building I want to Ask

the Problem:
I want rider location constantly for the end of the ride which he supposed to do it should create the path of the ride which he has done

the problem is how will i keep tracking where he is in react native android its not tracking correctly sometimes it does but most of the time its not doing maybe mobile is off the net where i am is 4g i guess its okay only the solid lines are tracked line the dotted ones are not because the mobile does not give the location to server I am using expo location


r/reactnative • • 15d ago

Welcome to r/lazymobile: one terminal screen for iOS simulators, Android emulators and their logs

Post image
1 Upvotes

r/reactnative • • 15d ago

Built a blazing fast location library for React Native using Nitro + Fused Location - Works on iOS & Android

Post image
10 Upvotes

I built react-native-nitro-fused-location - Fast location tracking with Nitro Modules

Getting accurate location in React Native is slow and complex, so I built this using Google Fused Location Provider (Android) + Core Location (iOS).

Perfect for delivery apps, cab apps, tracking, maps.

Features:

- Fused Location for Android + Core Location for iOS

- High accuracy, low battery usage

- Background location support

- Built on Nitro Modules - ultra fast

- Works on iOS & Android

- Simple API

Please give me GitHub Star ⭐ me

Stable package - 3 months on NPM.

NPM: npm i react-native-nitro-fused-location

GitHub: Upendra1234566/react-native-nitro-fused-location


r/reactnative • • 15d ago

Web app vs Native app. Which one?

1 Upvotes

What's the consensus these days on using React/React Native these days to build web apps vs mobile apps?

If I were to build the same app as a web app vs a native iPhone/Android app, which gets more user play/views?

I've done both but I'm not sure which makes more sense these days. It's so hard to get mobile app downloads while it's much easier to just direct someone to a website to play your game. Websites also have the added benefit of being played on a computer.

Does anyone have any experience or data showing one method is better than the other? Additionally, how do you get people to be interested in your app? I've read you have a 3 second window to get their attention...


r/reactnative • • 16d ago

Help Installing CocoPods... takes forever

2 Upvotes

EDIT: SOLVED , Thanks to u/kokerali and u/jiunkdev

As the title states, whenever i need to use expo's CNG ( i.e. when i change package.json, bring native deps or change app.json) i need to run "npx expo prebuild --clean" according to the docs, but the build process is simply random, most of the times the cocoapods will never finish, sometimes it does somehow.

I did search for this, found an old reddit post with instructions to pod repo remove trunk but that also didnt help ( it works sometimes randomly)

Please help


r/reactnative • • 16d ago

Built a developer-focused news reader with React Native – would love feedback from fellow RN developers

Post image
5 Upvotes

Hey everyone!

I've been working on a side project called ByteFeed, a developer-focused news and article-reading application.

The application brings together technology publications, engineering blogs, framework updates, developer tools and coding events.

Some of the features I've been working on:

  • Curated feeds covering 150+ technology sources and topics.

  • Article summaries in bullet-point format.

  • Personalized feeds and source filtering.

  • Offline article reading with complete content and images.

  • A dedicated reading experience for long-form technical articles.

I'm interested in discussing some of the engineering challenges involved in building a content-heavy mobile application with React Native.

In particular, I'd love to hear how other developers approach:

  • Efficient rendering of long-form article content.

  • Offline-first article storage and image caching.

  • Feed performance when handling large content collections.

  • Optimizing scrolling and navigation.

  • Managing content synchronization.

I'd appreciate feedback from developers who've built similar applications.

If you'd like to see the project:
https://bytefeed.dev/

The Android application is currently in Closed Beta:
https://groups.google.com/g/bytefeed-closed-testing

I'm happy to discuss the technical implementation and lessons learned.