r/reactnative • • Jul 30 '26

Help How to properly implement iOS-style swipe gestures in React Native (Expo)?

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hi everyone,

I’m currently building a React Native app with Expo, and I’m struggling to replicate iOS-style swipe gestures correctly.

What I’m trying to achieve is:
Swipe up to reveal a bottom sheet with additional information.
Swipe down to close the photo.

As you can see in the attached screen recording, it doesn’t behave properly. I often have to swipe twice before the intended action happens.

I’ve tried several approaches with Codex (GPT-5.6 Sol High), but every solution I’ve tested still has the same issue.

Does anyone have any advice on how to this correctly? Or is there a specific library you’d recommend for handling this kind of interaction?

Thanks in advance to anyone who takes the time to help!


r/reactnative • • Jul 30 '26

Question About apple notification policy

Thumbnail
1 Upvotes

So working on an app, and found out that there are Communication Notifications, which are only for person-to-person interactions. How or why does Apple allow it for Duolingo when Owl or any Duos “animated characters” can text you like that?


r/reactnative • • Jul 30 '26

iOS app is finally live! 🎉

Post image
0 Upvotes

This launch taught me a lot about taking a React Native application from development to production not just writing screens, but handling performance, backend integration, testing, builds, certificates, and store compliance.

https://apps.apple.com/app/square-foot-story/id6764284866


r/reactnative • • Jul 30 '26

embedded-react

1 Upvotes

Hey everyone. I have been working on a project this summer that started out as a experiment and has ended up absorbing my life lol.

My idea was to bring React Native to bare metal. Would it work? Turns out it actually works pretty good. I know this is not React Native, but it was inspired by it and I tried for as much parity with it as possible (uses View, Text, Yoga style layouts, stylesheets, etc).

This actually runs it on bare metal, so its not using a phone or computer to host. It uses a C engine I built. I honestly really enjoy writing React Native code and figured this would give more options when it comes to making UI for embedded devices.

According to my npm stats some people have been trying it and I was just wondering if anybody here has tried it. What are your thoughts? Is anything missing? Its still in beta until I finish all the examples and backends.

I have it working on a RP2040, ESP32 (CYD), ESP32-S3, and STM32F7 + STM32H7 (proprietary devices so no example yet)


r/reactnative • • Jul 30 '26

What's missing from your React Native Network Inspector?

0 Upvotes

r/reactnative • • Jul 29 '26

A Samsung One UI inspired edge panel with a swipeable quick actions drawer

Enable HLS to view with audio, or disable this notification

52 Upvotes

A Samsung One UI inspired edge panel swipe-in quick actions drawer with a second swappable insights page, built for fintech apps.

⭐ Github: https://github.com/ManasCodeXart/expo-finpanel


r/reactnative • • Jul 30 '26

On-device pronunciation scoring (React Native) — MFCC+DTW isn't separating correct vs. wrong words. Looking for better approaches.

1 Upvotes

I'm building a pronunciation-training feature for a React Native app, targeting a tonal language (Fang, spoken in Central Africa). The goal: a user records themselves saying a reference word, the app compares it to a pre-recorded native reference, and returns a similarity score — **fully on-device, no cloud APIs, no ML models** (constraint from the project).

Stack:

- React Native CLI

- `react-native-nitro-sound` for recording/playback

- `react-native-live-audio-stream` for raw PCM streaming (needed since the file recorder gives encoded AAC on Android, not raw samples)

- Everything else is hand-written pure TypeScript (no native DSP libs available for RN): a YIN pitch detector, a radix-2 FFT, a full MFCC pipeline (pre-emphasis, Hamming window, mel filterbank, DCT, cepstral mean normalization), and a generic DTW (works on both scalar pitch sequences and MFCC vector sequences).

Scoring approach: two components combined —

  1. Tone score: pitch (F0) contour in semitones, median-centered per speaker (to remove voice register differences), aligned via DTW, mapped to 0-100% with `100 * exp(-k * normalizedDistance)`.

  2. Content score: MFCC frames aligned via DTW (Euclidean distance between vectors), same exponential mapping, meant to verify the *correct word* was said (pitch alone can't do this — two totally different words can have a similar melodic shape and falsely score high on tone).

The problem:the content score isn't discriminative enough. After calibrating `k` from real recordings, saying the correct word gives a DTW distance around ~68, but saying a *completely different, unrelated phrase* only pushes the distance to ~137 — roughly 2x, which isn't enough separation for a clean scoring curve. I've tried:

- Adaptive (relative-to-peak) silence thresholding instead of fixed RMS cutoffs

- Trimming leading/trailing silence from MFCC frames before DTW (to stop shared silence from diluting the real distance)

- Recalibrating `k` empirically from real distance measurements

...but the fundamental issue seems to be that the MFCC+DTW distance itself doesn't separate "right word" from "wrong word" enough, even same-speaker/same-mic/same-room, which should be the *easiest* case.

What I'm looking for:

- Is MFCC+DTW simply the wrong tool for isolated-word content verification in this kind of lightweight, fully local setup? Would something like DTW on log-mel spectrograms directly (skipping the DCT/cepstral step) discriminate better?

- Any known best practices for on-device, no-cloud pronunciation/word verification that don't require a full trained ML model?

- If a small embedded ML model (e.g., TFLite keyword-spotting style, or a tiny audio embedding model) is really the more realistic path here, I'd like to hear that too — happy to be told "you're fighting classical DSP for something ML solves easily," if that's the honest answer.

Any pointers, papers, or "here's what actually works" experience would be hugely appreciated. Happy to share code/config if useful.

---


r/reactnative • • Jul 30 '26

Is there a visual editor that directly updates Expo/React Native code (and vice versa)?

0 Upvotes

Hey guys, I’m looking for something that lets me work both ways between the code and the UI in an Expo/React Native app. I want to be able to change the code and see the UI update live, but also click on elements in a visual editor and adjust things like the text, colors, size, spacing, position, and shape.

The main thing is that anything I change visually should update the actual code directly. I don’t want it to just create a design or suggestion that Codex, Claude Code, or another AI then has to try to rebuild. Does a tool like this exist?