r/reactnative • u/Miserable-Pause7650 • 3d ago
How to minimise IOS app size?
For android there is proguard, r8, obfuscation, dex. But I dont see any equivalent for IOS, and only reducing image size is mentioned
r/reactnative • u/Miserable-Pause7650 • 3d ago
For android there is proguard, r8, obfuscation, dex. But I dont see any equivalent for IOS, and only reducing image size is mentioned
r/reactnative • u/harpreetkbadhan • 4d ago
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.aabRepo: 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 • u/Top-Locksmith2865 • 4d ago

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.
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.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.
Android
foregroundServiceType="location")AlarmManager-based self-healing watchdogiOS
CLLocationManagerCLBackgroundActivitySession on iOS 17+Data integrity
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.
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 • u/HamzaSiddiqueDev • 4d ago
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:
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 • u/Logical_Value_9007 • 5d ago
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 • u/iupendraa • 5d ago
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 • u/amirgazerani_dev • 5d ago
r/reactnative • u/elrd5150 • 6d ago
Great results, considering both voice cloning and generation happen entirely on the phone.
r/reactnative • u/Miserable-Pause7650 • 6d ago
r/reactnative • u/BumblebeeWorth3758 • 7d ago
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 • u/Sppencer06 • 6d ago
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 • u/Mule_ME • 7d ago
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 • u/NobelParadox • 6d ago
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 • u/Miserable-Pause7650 • 7d ago
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 • u/bkdev98 • 8d ago
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 • u/Competitive-Yak4291 • 8d ago
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 • u/matheusmviana • 8d ago
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 • u/Competitive-Yak4291 • 9d ago
I just added drag-to-reorder to react-native-reflow-grid, plus a few new layouts:
- Drag to reorder: long-press an item and drag it to a new spot, and the other items reflow around it
- Masonry: items flow into the shortest column
- Vertical and horizontal pages: drag an item across pages and the grid pages with it
The videos show 3 columns, 1 column, masonry, and vertical and horizontal paging.
Repo and docs: https://github.com/bradenacurtis801/react-native-reflow-grid
I'd like feedback on how the drag feels and on any layouts you'd want added.
r/reactnative • u/Maleficent_Glass_557 • 8d ago
Hey r/reactnative,
I wanted to share a mobile dashboard I recently built with React Native and Expo called Publisher Console, along with a few architectural choices made to keep it completely serverless.
Stack & Tools:
Why Zero-Backend: Most analytics aggregators proxy traffic through a custom backend. Because financial data and Play Console permissions are sensitive, this app communicates directly from the mobile client to Google's REST APIs:
All token management and alert triggers run on-device, meaning zero server hosting costs and complete user data privacy.
There is also an "Explore with demo data" mode built with local fixtures so you can test the UI and charts without connecting credentials.
Happy to answer any questions about the OAuth implementation, Material 3 theming, or the API setup!
r/reactnative • u/NobelParadox • 8d ago
I keep seeing how bad the tech job market is and how difficult it is for international students to get jobs.
I really want to move abroad and build my tech career, but now I’m questioning the whole decision.
Is the tech market really that bad, or is Reddit just overly negative?
Edit : I have work experience as Mobile Engineer of 1.5 years
r/reactnative • u/FailComprehensive323 • 8d ago
Been working on AniUI for a while — shadcn-style copy-paste component library for React Native, 150 components, MIT.
Today I shipped the thing that's been on my mind since Vercel dropped the UI SDK two weeks ago: making it first-class for AI coding tools.
What's new:
@aniui/mcp v0.2.0) — 8 tools: list_components, search_components, get_component, get_component_usage, list_blocks, get_block, get_theme_tokens, get_theme_preset. Stdio, one command: npx -y @aniui/mcphttps://aniui.dev/r/{name}.json — so npx shadcn@latest add https://aniui.dev/r/login.json works in a fresh Expo project with no AniUI CLI involved.skills/aniui/mcp.md — auto-discovered by Cursor / Claude Code / Windsurf so the agent just knows when to reach for AniUI.Would love feedback especially on:
npx shadcn@latest add https://aniui.dev/r/button.json cleanly land in your Expo project? That's the "zero-friction interop" bet and I want to know where it breaks.For MCP folks: are the tool names and shapes right?
search_components from list_components because agents seem to prefer search-first.Repo: https://github.com/anishlp7/aniui
Docs: https://aniui.dev/docs/mcp