r/reactnative • • 4d 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 • • 29m ago

Rebuilt the Apple Mail drafts stack

2 Upvotes

I've always loved swiping a draft down in Mail and grabbing it again later, so of course I had to have it in react-native

Android fought me on the 3D stack for way longer than I'd like to admit, but it finally works on both!


r/reactnative • • 2h ago

5 release mistakes that pass code review but ship in your .ipa / .aab (and how to check the built file)

Post image
1 Upvotes

Code review looks at the repo, but what users get is the file your build produced. With env-switched app.config.ts, Expo prebuild and config plugins, the two drift apart. These are the mistakes I see most, and all of them are visible only in the built app:

1. A secret key in the JS bundle. Hermes bytecode stores strings as plain text, so anyone with the app file can read them. Publishable keys (Stripe pk_, Firebase, the Supabase anon key) are fine. Secret keys (Stripe sk_live_, AWS, OpenAI, a Supabase service_role key) belong on a server.

2. A staging or localhost API URL. EXPO_PUBLIC_API_URL set in the wrong EAS profile, a .env that wasn't swapped, or the emulator fallback http://10.0.2.2:3000 left in.

3. Staging domains in deep links. Associated domains (iOS) and App Links (Android) are often switched by APP_VARIANT. If the production build claims staging.example.com, universal links quietly break. On iOS, only the entitlements inside the signed executable show what really shipped.

4. A debuggable or development-signed build. android:debuggable="true", or an iOS build with get-task-allow (the App Store rejects it).

5. Source maps inside the app. A .map file or an inline sourceMappingURL gives away your original source.

Checking by hand: unzip the .aab / .ipa, then run strings on the bundle and grep for sk_live, localhost, staging, 10.0.2.2. For iOS deep links, run codesign -d --entitlements - Payload/YourApp.app.

I got tired of doing that by hand, so I wrote a small free, MIT-licensed CLI that does all of the above in about a second, with no upload and no dependencies. You can try it on a demo build with planted mistakes:

curl -LO https://github.com/harpreetkbadhan/release-lint-demo/releases/download/v1.0.0/release-lint-demo.aab
npx app-release-lint release-lint-demo.aab

Repo: https://github.com/harpreetkbadhan/release-lint

What release mistakes have you shipped that I didn't list? I'd like to add checks for them.


r/reactnative • • 4h ago

I tried to make background location tracking in React Native feel like using hooks instead of managing a native tracking infrastructure

1 Upvotes

Background location tracking is one of those features that looks deceptively simple until you actually try to ship it.

Android foreground services, iOS background execution, permissions, process termination, offline buffering, retries, duplicate prevention, reboot recovery... suddenly the feature isn't just about getting coordinates anymore.

I've been working on React Native Background Location Pro, and with v2.0.0, I wanted to simplify the developer-facing experience as much as possible.

The goal: reduce tracking to a few hooks

import {
  usePermissions,
  useLocationTracking,
  useLocationUpdates,
} from 'react-native-background-location-pro-eval';

const SERVER_URL = 'https://api.example.com';

export function TrackingScreen() {
  const permissions = usePermissions();

  const {
    isTracking,
    startTracking,
    stopTracking,
    syncNow,
    status,
  } = useLocationTracking({
    serverUrl: SERVER_URL,
  });

  const { latestLocation } = useLocationUpdates({
    maxItems: 20,
  });

  // Handle permissions, start/stop tracking,
  // and display live location updates.
}

The React layer is intentionally small.

Three hooks cover the primary developer workflow:

  • usePermissions — permission workflow.
  • useLocationTracking — tracking lifecycle, status and syncing controls.
  • useLocationUpdates — access to location updates.

Hooks for convenience. Bare APIs for control.

I didn't want the hooks to become a limitation.

The library also exposes the underlying bare APIs for developers who need more granular control over tracking behavior, HTTP headers, geofences, schedules, odometer, diagnostics, the on-device queue and other capabilities.

You can start with hooks for a straightforward integration and move to the bare APIs when your application needs a more customized workflow.

Both interfaces operate on the same native tracking infrastructure. You're not switching to a different engine when you move beyond the hooks.

What actually runs underneath?

Android

  • Native Kotlin Foreground Service (foregroundServiceType="location")
  • AlarmManager-based self-healing watchdog

iOS

  • Native Swift CLLocationManager
  • CLBackgroundActivitySession on iOS 17+
  • Native background tracking infrastructure

Data integrity

  • Offline-first SQLite persistence
  • Duplicate-free transactional batch syncing
  • Retry handling during network interruptions
  • Recovery mechanisms designed for process termination and device reboot scenarios

The JS layer isn't responsible for keeping the tracking engine alive. The native infrastructure handles tracking, persistence and sync recovery independently of the React UI lifecycle.

Try the actual pipeline

I've published an evaluation package that allows developers to test the native tracking pipeline in debug builds before purchasing.

The goal was to make the integration simple without hiding the underlying capabilities or restricting developers who need more control.

GitHub: https://github.com/126punith/react-native-background-location-pro

Documentation: https://background-location-pro.vercel.app/

Hooks guide: https://background-location-pro.vercel.app/docs/react-hooks

Evaluation package: https://www.npmjs.com/package/react-native-background-location-pro-eval

Curious to hear how other React Native developers have approached reliable background location tracking across Android and iOS, particularly when the application needs to continue operating through process termination and network interruptions.


r/reactnative • • 4h ago

Article Shipped my first big Expo app: a kids' learning app with tracing, read-along stories and a safe AI buddy

0 Upvotes

I just released Owlivo, a learning app for young kids, built with Expo + React Native. I designed and built it end to end.

Stack: Expo Router, TanStack Query, Reanimated, Gesture Handler, Next.js API on Vercel, Groq for the AI part, Play Billing for subscriptions.

Parts I'm happiest with:

  • Letter/number tracing with Gesture Handler + Reanimated, staying smooth at 60 fps
  • A map screen of themed worlds that unlock with stars
  • Sentence-by-sentence highlighting during read-along narration (English + Urdu)

Hardest part was Play Billing with two plans (single child / family) plus a free tier. Happy to share how I structured it if anyone's fighting with it.

You can try it here: https://play.google.com/store/apps/details?id=com.aqsalogicbyte.owlivo

Feedback on the UI/UX is very welcome!


r/reactnative • • 1d ago

What does your RN release process actually look like, no judgment

7 Upvotes

I'll go first. I run the app in expo go, check the screen I changed, build, ship. I don't check other screens, I don't open the production build before pushing, I don't test on android if I changed something on iOS.

I've been experimenting with spinning up cloud simulators to at least check the build on a couple devices before I push but even that feels like more than what most solo devs do.

I know this is bad but I genuinely don't know what a realistic release process looks like for a solo dev or a 2 person team shipping RN. Every guide I read assumes you have a QA person or a full automation suite and I have neither.

What does yours actually look like ??


r/reactnative • • 1d ago

Question How do you handle app updates without breaking existing features?

2 Upvotes

One thing I've always wondered is how developers manage updates in React Native applications without accidentally breaking features that were already working.

Do you test everything manually after every update, or do you rely on automated testing?

What does your actual workflow look like when releasing a new version?

Interested to hear how other developers handle this.


r/reactnative • • 1d ago

Article Coin-to-percent paywall motion preview with React Native implementation notes

4 Upvotes

A paper plane takes off, leaving a coin that flips into a percent sign and lands on clouds.

This clip is a motion preview. Its capture framework is unverified. The notes below describe the React Native implementation.

The coin and percent sign share one signed-distance solid, ray-marched in a Skia shader. A morph value separates the rings, opens their holes and grows the diagonal bar. A smooth union joins the shapes during the change.

The plane and coin follow separate timed paths. The coin arcs and rotates while the clouds rise underneath. "No, thanks" starts a separate return sequence: the sign becomes a coin, the clouds sink and the plane comes back to catch it. The plane dips under the coin's weight before settling.

Plan selection moves one selection ring between the cards using a spring. Reanimated drives the motion values, Gesture Handler handles touch, and Skia draws the scene. The TypeGPU/WebGPU glitter layer is optional.

Built with React Native, Expo and TypeScript. Thanks to the Expo team (@expo).

Design reference: DonnyasPortfolio on Pinterest, recreated from a still: https://www.pinterest.com/pin/516225176060295531/ The motion was developed separately.

Disclosure: I make Native Cook. These notes were adapted from the block's source and build notes with an assistant.

Would you keep the animated return on "No, thanks", or dismiss the paywall immediately?


r/reactnative • • 1d ago

Article Expo starter pack SDK 58 is out: no more hand-written query keys, a complete UI kit, built-in documentation, now on npm

Thumbnail reddit.com
1 Upvotes

r/reactnative • • 1d ago

Playing with local voice cloning with Reverb-TTS by Software Mansion

4 Upvotes

Great results, considering both voice cloning and generation happen entirely on the phone.


r/reactnative • • 1d ago

Why is dex code optimization at 0% in android

Thumbnail
reddit.com
2 Upvotes

r/reactnative • • 2d ago

SwiftUI React Native v7 — Bringing the real SwiftUI to React Native

102 Upvotes

Me and Andrew have been working on v7 of SwiftUI React Native, and this is probably the biggest step the project has taken so far.

The idea has always been simple: bring SwiftUI’s actual native capabilities to React Native, without recreating them in JavaScript or settling for lookalikes.

With v7, we’ve expanded the API coverage significantly, added hundreds of modifiers, improved how views are bridged, and made the experience much closer to writing native SwiftUI while pretty much staying in React Native.

Github: https://github.com/andrew-levy/swiftui-react-native
Docs: https://swiftui.rit3zh.dev/


r/reactnative • • 1d ago

Yeah, it’s Expo!!!

0 Upvotes

r/reactnative • • 2d ago

Created first game using Expo

Thumbnail
reddit.com
1 Upvotes

r/reactnative • • 1d ago

Question Getting into Big Tech companies

0 Upvotes

I have 4+ YOE mainly with React Native and some backend development, all of it in start ups. I am based in London and looking to move into a Big Tech company for better stability.

I don’t mind learning / developing new skills. I am open to any kind of role, but would prefer Mobile Development roles. Although after applying to several companies, I have only received rejections.

Has anyone here made a similar switch? If so, did you any new skills or technologies. Would appreciate hearing about anything which worked for you.

Also on a side note: the React Native job market seems pretty dead at the moment. What are your thoughts on it?


r/reactnative • • 2d ago

Article I built on-device face alignment with Expo + ML Kit for a timelapse app

9 Upvotes

I just shipped Becoming, an Expo app (SDK 57, React Native 0.86) that turns photos taken weeks apart into one steady timelapse. Everything runs on the phone: no server of mine, no account. A few things I learned building it:

**Faces.** ML Kit face detection gives the eyes, nose and mouth. I fit a similarity transform (scale, rotation, shift) from those points onto one fixed position, so every photo sits where the first one did. A photo that can't be aligned is reported, never passed through untouched: one unaligned frame is a visible jump, the exact thing the app exists to remove.

**Bodies.** For gym progress there's a small native module around ML Kit pose detection, anchored on the torso only: shoulders and hips. Arms move between photos (a hand on the hip one week, by your side the next) and would drag the whole frame sideways.

**Things with no landmarks.** Plants, rooms, a build: no detector finds anything there, so the camera shows yesterday's photo faded over the viewfinder and you line it up by eye.

**Flicker.** Every phone photo is exposed on its own, so at 10 frames a second the brightness strobes. Each frame gets a gain toward the run's median brightness, clamped, so one blown-out photo can't drag the whole video darker.

**Export.** Frames are drawn with React Native Skia (the looks are SkSL shaders) and encoded on the phone with react-native-skia-video. The memory lesson: Hermes counts every image Skia holds at its decoded size, so long exports hit the heap limit. Rendered frames now go to files instead of staying in memory.

The iPhone build is next, same codebase. Happy to go deeper on any of it.

Beard photos: Chris Radcliff (Flickr), CC BY-SA 2.0. I'm the developer.


r/reactnative • • 2d ago

Expo onboarding: orbiting rings that snap into place and collapse into a star

6 Upvotes

I built Spark Orbit, an Expo welcome screen for an events app. The rings spin with momentum, snap into slots, and collapse into a single spark when you tap Get Started.

The clip is a motion preview. The notes below describe the React Native implementation and were edited with AI assistance from the source.

Dragging a ring changes its angle around the orbit centre. After release, its angular velocity decays. Once it drops below 8 degrees per second, a spring brings it to the nearest slot. The other ring turns in the opposite direction through the same motion model.

The charms swing in response to tangential acceleration. Avatar badges have a smaller swing response than the objects, so the movement varies across the ring.

Get Started triggers a collapse-and-return sequence. The charms spiral inward as the rings shrink, leaving the star on its own. They then return in a staggered order. A spring controls their radius while an easing curve unwinds their angle back into position.

Built with Expo, TypeScript, react-native-tgfx for drawing, Reanimated shared values for motion, and Gesture Handler for touch input.

Would you let the momentum slow down before snapping, or pull the ring into a slot sooner?


r/reactnative • • 2d ago

Help Career Switch!

0 Upvotes

Hey Community, I am thinking of switching career from react native dev with more than 1.5 year of experience to cyber security and cloud engineering.
The reason is AI ofc I can’t take all this fear mongering and stress that I will be replaced by ai or someone with ai who will work for less money.
What you guys think of it?


r/reactnative • • 3d ago

Should I convert from jpeg to webp for images saved in expo-file-system and firebase storage?

0 Upvotes

Seems like webp images are 30% smaller and offers no quality reduction, so should I convert to webp first before saving to reduce storage and increase speed?

For context, images would be photos uploaded by users


r/reactnative • • 3d ago

Mobile game built with Expo, Skia and Reanimated

17 Upvotes

so this is my attempt at building a mobile game where the physics, assets, and animations are all done in JS code. I wasn't sure it would work, but I'm really happy with how it turned out.
Yes, it was entirely vibe coded, but for me I'm still quite proud with my works put into it. prompting, adjusting, going back and forth, and testing.
Link to download: https://plonk.fyi. It's on the App Store now, with no ads and no subscriptions. I'd also really appreciate Android folks helping with the closed test. Since it's still early, comment your username and I'll give you the Plonk Club tier for free.
If anyone's curious, I can write up the whole process, from Claude Design to the final product, in a follow-up post.
And thanks to this awesome community for making this happen. It seems like everyone is leaning toward native in this AI era, but I don't think I could have launched a game on both iOS and Android in 9 days without RN.


r/reactnative • • 3d ago

Reflow Grid: masonry in 2–4 columns or 2–4 rows (sideways), tiles of any size, drag to reorder

6 Upvotes

I'm building react-native-reflow-grid, an open-source grid for React Native where layout changes animate.

This demo switches a photo feed live between 2–4 columns (scrolling down) and 2–4 rows (scrolling sideways), with photos of any size. You can drag to reorder and swipe to remove, and only the visible cards are mounted, so long feeds stay light.

Works on iOS, Android and web. Layouts are plain functions, so you can write your own.

https://github.com/bradenacurtis801/react-native-reflow-grid


r/reactnative • • 3d ago

Shipped my first Expo app to Google Play review: a GitHub-powered card game

Post image
2 Upvotes

I built DevDek with Expo. It turns your GitHub profile into a collectible card, with a class based on your most used language.

It's now in Google Play review. For people who've shipped with Expo before: what tripped you up in the first Play Store review, and how long did yours take? Happy to share what I learned too.

(Disclosure: it's my project. Waitlist at devdek.online if you're curious.)


r/reactnative • • 3d ago

Expo card deck: one progress value for drag, flick and autoplay

0 Upvotes