r/reactnative • • 29d ago

Help Expo React Native app with Stripe PaymentSheet for subscriptions — will Google Play / App Store reject it?

1 Upvotes

Hi everyone,

I’m working on a mobile app built with Expo / React Native, available for both Android and iOS.

The app offers paid subscriptions that unlock premium educational content and features inside the app.

We already implemented Stripe PaymentSheet using /stripe/stripe-react-native, and technically everything works fine.

My concern is specifically about store approval.

If we publish the app on:

  • Google Play Store
  • Apple App Store

and users can purchase the digital subscription directly inside the app through Stripe PaymentSheet, is this likely to be rejected during review?

From what I understand, Google Play normally requires Google Play Billing for digital subscriptions, and Apple normally requires In-App Purchase / StoreKit.

I’m trying to understand whether Stripe PaymentSheet can still be used in this case, or if we really need:

  • Google Play Billing on Android
  • Apple In-App Purchase on iOS

Has anyone recently published an Expo / React Native app with this kind of setup?

I’m especially interested in real review experiences: accepted, rejected, or accepted only under specific regional/payment exceptions.

Thanks!


r/reactnative • • 29d ago

I built an on-device OCR library for React Native that reads Cyrillic on Android (Vision on iOS, PaddleOCR on Android)

4 Upvotes
ML Kit has no Cyrillic model, so on Android it reads Russian as Latin look-alikes. I needed to read ingredient lists on Russian food labels, so I built react-native-glyph-ocr:



- Apple Vision on iOS, PaddleOCR (PP-OCRv5/v6 on ONNX Runtime) on Android, PaddleOCR on iOS as a build option

- ML Kit-shaped results: blocks → lines → words, with confidence, normalized and pixel boxes, corner points and angle

- Any source: file/content/ph URIs, base64, react-native-nitro-image, VisionCamera 5 frames

- useTextScanner: waits for a sharp, still frame inside your scan box and reads it once

- Models downloaded on first use with sha256 checks, from your own mirror, or embedded at build time

- Nitro module, New Architecture, Expo config plugin, fully offline



On 24 label photos, PaddleOCR read 77–83% of the ingredients and ML Kit 13–28%. It's a small set and the full method is in the repo.



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

GitHub: https://github.com/pe1ros/react-native-glyph-ocr



This is the first npm release (0.3.1), so feedback and issues are very welcome.

r/reactnative • • 29d ago

Tutorial React Native's fetch can't stream responses, so I used XHR. Two silent traps

1 Upvotes

I was streaming an LLM chat response into a React Native app (RN 0.81, Expo). On device the answer always arrived as one big chunk, even though the server was sending server-sent events.

The reason: in React Native's fetch, response.body is null, so getReader() doesn't exist. Code that "supports streaming" quietly falls back to waiting for the whole response. A test that only checks the final text still passes.

XMLHttpRequest can stream. responseText grows while the request is in flight, so you diff against the length you have already seen:

const xhr = new XMLHttpRequest();
xhr.open('POST', url);
xhr.responseType = 'text';
let seen = 0;
const onChunk = () => {
  const delta = xhr.responseText.slice(seen);
  seen = xhr.responseText.length;
  if (delta) handleDelta(delta);
};
xhr.onprogress = onChunk;
xhr.onreadystatechange = onChunk;
xhr.send(body);

Two traps, and both fail silently (the text is right, it just arrives in one piece):

  1. responseType has to be '' or 'text'. With 'blob' or 'arraybuffer', RN buffers the whole body.
  2. The handlers must be set as on* properties before send(). RN decides at send time whether to ask the native side for incremental data, based on whether onreadystatechange or onprogress is set. If you "clean up" to addEventListener('progress', ...), streaming turns off and nothing tells you.

If you test this, assert on how many chunks arrive and what is in each, not just the final string.

I haven't compared this with expo/fetch, which I believe supports streaming. Has anyone run it for SSE in production?


r/reactnative • • Oct 28 '26

Building a CapCut Alternative Entirely in React Native (No Cloud)

14 Upvotes

Back again, this time building a video editor entirely in React Native.

Huge thanks to react-native-skia-webgpu-video. It got me thinking about how far I could actually push this.

The goal is pretty simple: see how many of CapCut's features I can recreate while keeping everything local. No cloud processing, just on-device editing.

Let's see how far I can take this.


r/reactnative • • Oct 28 '26

Flare Engine is now open source: a 2D game and animation engine for React Native and TypeScript

8 Upvotes

In June I posted a dev log here about building a 2D engine on top of React Native and Skia. As of October 26, it is public: all 42 @flare-engine/* packages are on npm at 0.4.5, under Apache-2.0. No token needed.

In one sentence: an engine for the RN and TypeScript ecosystem that makes it easier to build a game or an animation and embed it in your website or in an RN app.

npm create @flare-engine my-game

Three templates (blank, topdown, shmup), or skip the generator and take a single package. This is the README example of @flare-engine/dynamics (rigid bodies), and CI typechecks it against the real code:

import { addBody, createBody, createWorld, step } from '@flare-engine/dynamics';

const world = createWorld({ gravity: { x: 0, y: 1800 } });

// Static floor: invMass 0, never moves.
addBody(
  world,
  createBody({ position: { x: 0, y: 100 }, half: { x: 500, y: 10 }, static: true }),
);

const box = addBody(
  world,
  createBody({ position: { x: 0, y: -50 }, half: { x: 10, y: 10 } }),
);

// Fixed-timestep loop.
step(world, 1 / 60);
console.log(box.position.y, box.velocity.y);

No React, no canvas, plain functions on plain objects.

See it running, nothing to install: the Showcases page on flareengine.dev has playable demos (Overrun, an arena chase on ecs; Causeway, on render-web; Reroute, a tower defense where you repaint the enemies' path, on pathfinding) and animations (a reactor chain reaction, a physarum slime-mold network finding shortest paths, an N-body spacetime lattice). Each one names the package that drives it.

Not just games. animation, particles, progression, achievements, leaderboards and haptics work in an ordinary app you want to liven up. Honest caveat: achievements and leaderboards ship an interface plus local providers today; Game Center / Play Games / Steam adapters come later.

How it's made. Coding agents write the implementation; the architecture, the decisions, the verification and the review are mine.

Two decisions that paid off:

  1. Modules that depend only downward. Layers from math/events at the bottom to react/render-web at the top. A CI script fails the build on an upward import, an unused declared dependency or an undeclared one. No dependency hell across 42 packages.
  2. Skia as the renderer. react-native-skia on RN, CanvasKit in the browser: one renderer, two platforms. On a Pixel 7 in Chrome, render.flush for 5,000 sprites in one atlas is 1.93 ms p95 against a 16.67 ms frame budget. That is CPU-side cost (building and submitting the frame on the main thread), not GPU time.

What's broken:

  1. The ECS is hard-capped at 32 component types. Each type gets one bit in a mask (bit: 1 << id), JS bitwise ops are 32-bit, and the id counter is shared by the whole process, not per world. It blocks large, complex games, and it's the first thing I'm fixing.
  2. The two device tests I promised here in June are still owed: iOS resume-from-background (texture re-upload) and big texture swaps. They are planned in the engine's perf work, not run yet.

The lesson that cost the most: for the first two months I relied on rules written for the agents in plain text, and it was hell. The clearest example: the README code examples all looked fine, but nothing compiled them. When I checked in July, they failed to compile in roughly 24 of 41 packages. Now every README example is typechecked in CI, which is why the snippet above is guaranteed to compile. Rules in text are not a harness; a check that can go red is.

The ask: if you picked this up, what would you build first: a game, or an animation layer inside an app you already ship?

Translated from my Polish write-up with AI; the Polish original is my own writing. Full post: https://grzegorzotto.dev/blog/flare-engine-is-open-source


r/reactnative • • Oct 28 '26

How do you let AI agents interact with React Native apps?

15 Upvotes

While conducting React Native technical interviews, I noticed that surprisingly few developers know about tools that let Claude Code, Codex, or other AI agents interact with a React Native app and its simulator.

I’m talking about tools like Expo MCP, Argent, Agent Device, ExecBro, and similar MCP servers. These tools have been a game changer for me. An agent can implement a feature end-to-end and actually interact with the app in a simulator to verify its work or debug issues.

Chrome DevTools MCP seems to be much more widely known, while similar tools for React Native have only started gaining traction this year.

Did you know these tools existed? Are you already using them, or not yet? Share your workflows 😉


r/reactnative • • Oct 28 '26

You can now build hinge-based effects and animations with expo-hinge + Reanimated

7 Upvotes

Hey there! Oskar from Reanimated team here 👋

I'm here to drop some news for those of you that have been experimenting with foldables since the release of iPhone Duo.

Recently we've decided to contribute Reanimated + Worklets support directly to expo-hinge. Since 58.0.2 you can import useAnimatedHinge from expo-hinge/reanimated and get the hinge angle and status as shared values, updated on the UI thread.
That will keep you away from re-renders and keep updating even when JS thread is busy.
Works on both Android and iOS of course.

While you probably shouldn't use this for any layout-related work based on hinge, I'm curious what kind of extra animated effects you'll come up with by using that feature!

I brought a small demo with me so you could see it in action 🎥

Usage is pretty simple, as you could expect:

import { useAnimatedHinge } from 'expo-hinge/reanimated';
import { useAnimatedStyle } from 'react-native-reanimated';

function Lid() {
  const hinge = useAnimatedHinge();

  const style = useAnimatedStyle(() => ({
    transform: [{ rotate: `${hinge.get()?.angle ?? 180}deg` }],
  }));

  return <Animated.View style={[{ width: 120, height: 8, backgroundColor: 'gray' }, style]} />;
}

Check out the docs: https://docs.expo.dev/versions/latest/sdk/hinge/#use-with-reanimated

Let me know what you guys think and whether you see some use cases for your apps with this API!

Btw starting today I'm planning to drop a thing or two related to Reanimated on this subreddit from time to time, so if there's something specific you'd like to hear about, please do let me know as well 🫡


r/reactnative • • Oct 28 '26

Preview APK for every React Native pull request, scannable from the PR. Free tool I built, would love feedback

0 Upvotes
I kept getting "can I try it before you merge?" from PMs and designers, and the answer was always "give me 10 minutes to build an APK". So I built Digidropp.


Connect a GitHub repo and it opens one PR with a GitHub Actions workflow (it detects npm/yarn/pnpm/bun). After you merge:


- Every push to your main branch builds a release APK and updates one install link that's always the latest.
- Every pull request gets its own preview build, posted as a PR comment with a QR code. Reviewers test the real app, on a real phone, before merging.
- Builds are signed with one stable key per repo (it's placed at android/app/debug.keystore), so updates install over the previous build instead of "App not installed".
- Before anyone installs, it checks the build: changed signing key, lower versionCode, and Google's upcoming developer verification.
- Config that isn't in git (.env) can be pasted once; it's encrypted in your browser and only decrypted inside your own GitHub Actions run.


It runs in your repo's GitHub Actions, so your source never leaves GitHub. Automatic builds are Android only for now; for iOS you can upload an .ipa you build yourself (CLI or GitHub Action).


Free during beta. What would stop you from using something like this?


digidropp.online

r/reactnative • • Oct 27 '26

Smooth Interactions

43 Upvotes

I built some minimal interaction and animation using Skia and reanimated.

🔗 GitHub: https://github.com/rit3zh/interactions


r/reactnative • • Oct 28 '26

Article How much to self-host OTA updates for 100 million users

Thumbnail
blog.codemagic.io
0 Upvotes

I wondered what the infra cost would be, so I totalled up what's needed


r/reactnative • • Oct 28 '26

Help Looking for React Native Developer Opportunities | 4+ Years of Experience

1 Upvotes

Hi everyone! 👋

I’m currently exploring new job opportunities as a React Native Developer and would appreciate any leads or referrals.

I have 4+ years of experience in React Native mobile app development, working on building, maintaining, and optimizing applications for both Android and iOS.

My technical skills include:
React Native and JavaScript
Android and iOS app development
REST API integration and backend communication
State management, debugging, and performance optimization
App releases, production support, and troubleshooting
I’m looking for opportunities where I can contribute to building scalable, high-quality mobile applications and continue growing as an engineer.

📍 Preferred location: India / Remote / Open to relocation | Current Location is Jaipur

If your company is hiring or you know of any relevant openings, please comment or DM me. Referrals and suggestions would be greatly appreciated!

Thanks in advance! 🙏


r/reactnative • • Oct 27 '26

Question How do people make money from apps?

18 Upvotes

I am an app developer working from the past 2 years. I have a job but i want to make money on the side. I was hoping to have a passive income from maybe an app. But i don’t know how and i don’t know where to start. What are the kind of apps that make money? And how do i go about doing it even if it takes a lot of tries at least i would have published apps on app store and/or play-store.


r/reactnative • • Oct 27 '26

A 5-step routine for debugging any React Native / Expo red screen

0 Upvotes

Most RN errors aren't hard once you know which layer broke. This is the routine that saves me the most time:

1. Read the first error, not the last line. Red screens and build logs usually end with something generic. Scroll up to the first real error and the top stack frames that point into your own files.

2. Name the layer. Metro couldn't bundle (Unable to resolve module), JS crashed at runtime (Text strings must be rendered within a <Text>), a native module is missing (works in a dev build, crashes in Expo Go), or Xcode/Gradle failed to compile. Each has different fixes.

3. Check how you run the app. Expo Go only has the native code bundled into it. If a library ships its own native code, you need a development build, and if you added it after building, you need to rebuild.

4. Clear caches before anything deeper. npx expo start --clear fixes a surprising number of resolution errors after moving files or changing Babel config.

5. Align versions. npx expo-doctor and npx expo install --fix. SDK/library mismatches are behind a lot of both runtime crashes and EAS build failures.

Two sneaky ones worth knowing:

  • {count && <Badge />} renders 0 as raw text when count is 0, which gives you the "Text strings must be rendered within <Text>" error. Use {count > 0 && ...}.
  • localhost on a phone is the phone. Use your machine's LAN IP for a local API.

What's the error that cost you the most time?


r/reactnative • • Oct 27 '26

ScreenBill v2 is out. Most of it came straight from your comments on the launch post

Thumbnail gallery
0 Upvotes

r/reactnative • • Oct 27 '26

Help Intern / Jr Developer wanted

Thumbnail reddit.com
0 Upvotes

r/reactnative • • Oct 26 '26

Render images, videos and links in Markdown as your own React components (react-native-enriched-markdown)

24 Upvotes

We've added custom block renderers to Enriched Markdown, built together with Julius Marminge for T3 Code.

Images, videos and links on a line of their own can now be rendered by your React components, while the rest of the Markdown renders as before, with text selection, accessibility and streaming intact.

The video is a single Markdown document streaming in: a link becomes a spinning record, an image becomes a chord wheel. The custom components are powered by Reanimated.

It's one prop:

const renderers: MarkdownRenderers = {
  image: ({ url }) => <ZoomableImage uri={url} />,
  link: ({ url, label }) => <LinkCard url={url} title={label} />,
};


<EnrichedMarkdownText flavor="github" markdown={markdown} renderers={renderers} />

Try it in nightly:

npm i react-native-enriched-markdown@nightly

Docs: https://docs.swmansion.com/enriched-markdown/react-native/guides/custom-block-renderers

If it's useful to you, a ⭐ on GitHub helps more people find it: https://github.com/software-mansion/enriched-markdown


r/reactnative • • Oct 27 '26

Question Developers building mobile apps with Expo: what takes you the longest to set up?

0 Upvotes

I'm researching an Expo starter kit for developers who want to build subscription-based mobile apps.

I'm particularly interested in the setup around authentication, Firebase, RevenueCat and store builds. Before building the kit, I want to understand where people actually get stuck.

If you've built an Expo app recently:

- What part of the initial setup took longer than expected?

- Did you start from scratch or use a starter kit?

- What would make a starter kit worth paying for?

I'm at the research stage and would appreciate honest answers, including if you think a paid starter isn't useful.


r/reactnative • • Oct 26 '26

Good emoji library

8 Upvotes

🐷🍒⚽️🚛☎️❤️‍🔥🇨🇦

What library is good


r/reactnative • • Oct 27 '26

Help Website to app

0 Upvotes

Hello,

I have a website that I would like to also have it has an app on android and Apple. The catch is I need the app to work offline and have documents downloaded offline, modifications to be made, saved and shipped once back online.

Claude was suggesting to have the website in the app but it won’t perform properly I think.

But I think it’s better to have a native app since there is all the offline accessibility features that need to be integrated. I am trying to create a full native app but it’s pretty much ai copying the whole website. Also I would like to have to modify all from one location.

(Code is currently python, xml, JavaScript, html/ces, SQL for database)

Is this feasible and what should I look out for? Should I look in to flutter instead?

EDIT: It is pretty much an ERP system and the features needed offline are: checklists, time punches, plans and documents. For all of them we also need to be able to edit and resubmit offline, where it saves on the phone and pushes it once back online.

Thank you!


r/reactnative • • Oct 26 '26

Help Android -> React native shift

5 Upvotes

I have been working as an android developer for 5 years.

Recently, I saw a dream company that uses React Native.

I decided that I should shift.

But I have some mindset that I'm not sure if it is correct or not.

I want to learn native iOS before learning React Native.

I need to have the advantage of understanding both platforms before shifting.

What do you think, should I learn native iOS too? Or I'll be wasting my time?


r/reactnative • • Oct 26 '26

Adding on-device wake word detection to our React Native desk companion

6 Upvotes

At HeySTU, we’re building a voice-first desk companion with React Native, running on Android in kiosk mode. The idea is that someone can start a conversation with the device simply by saying its wake word.

That meant finding a detection solution suited to continuous listening, with low resource usage and a straightforward integration into our existing app. We also wanted wake word recognition to happen locally, so this first step wouldn’t depend on an internet connection.

We chose DaVoice for this part of the stack and worked with their team to integrate their on-device wake word detection into our Android setup.

From the React Native side, we treat detection as an event that starts the next stage of the interaction:

Wake word detected → listening UI activates → speech and assistant pipeline starts

This gave us a straightforward way to connect the detector to our existing UI states and assistant logic.

The integration also involved details that are easy to overlook at first: microphone permissions, long-running audio behaviour, device-specific quirks, and coordinating wake word detection with the rest of the audio pipeline.

DaVoice’s team helped us work through those details in our particular environment. Being able to discuss the setup with them and get practical support saved us time during the integration.

For a device designed to stay ready throughout the day, the transition into active listening matters. Local detection handles the trigger; the app then provides visual feedback and starts the conversation flow. Getting those pieces to work together has been an important part of building the HeySTU experience.


r/reactnative • • Oct 26 '26

Thrilled to announce my new Open-Source Package: react-native-nitro-audio-player! Handling background audio and native lock-screen controls in React Native has always been a complex task. To solve this, I've built a blazing-fast, type-safe audio player powered by Nitro Modules! Whether you are bui

6 Upvotes

r/reactnative • • Oct 26 '26

I made a multiplayer party game app in React Native

Thumbnail
apps.apple.com
1 Upvotes

Huddle Arcade: Party Games is a pocket arcade for playing with friends.

- Built with React Native (Expo).

- Online or local: play over the internet with a room code, or with friends nearby.

- Multiplayer: up to 6 players in a party tournament, or play solo against bots.

- Games that use your phone: squat races, jump and step sprints, voice-steered flying, face matching, plus classics like Chess, Connect 4 and card games.

Free on iOS and Android. I'd love feedback!


r/reactnative • • Oct 26 '26

Looking for feedback and code reviews on my React Native project

0 Upvotes

Hey everyone!

I've been working on an open-source Android app called IronBranch for discovering and streaming movies and TV shows, and I'd love to get some feedback from other React Native developers.

It's built with React Native and Expo, and uses TMDB for movie and TV show data. The idea for the TMDB integration was inspired by Streambert, another open-source project.

The app doesn't host any content itself; it uses external streaming providers, and I'm still working on adding more sources and improving things.

I'm mainly looking for feedback on the code structure, React Native best practices, performance, and anything that could be done better. If anyone has time to take a look at the code or suggest improvements, that would be really helpful.

I'm still learning and improving the project, so constructive criticism is very welcome!

GitHub: https://github.com/alirezaghnz/movie-tracker-native

Thanks!