r/expo • • 10h ago

Expo + WebGPU: a sand pit where every grain is simulated (sound on)

15 Upvotes

SDK 58 + react-native-webgpu. The sand is a particle sim in WGSL compute shaders, drawn at the screen's full 3x resolution. It is called Kare: Let go


r/expo • • 5h ago

Shipped a bilingual (English + Urdu RTL) solar app with Expo SDK 54

2 Upvotes

Sharing my latest Expo app: Solar AI Finance, a solar planning tool for Pakistani homes.

Expo Router runs the wizard flow, plans, bill check and subscription screens. react-hook-form handles the multi-step appliance wizard. EAS Build and OTA updates let calculation fixes reach users without a store release. The whole app is translated into Urdu with a right-to-left layout.

Play Store: https://play.google.com/store/apps/details?id=com.aqsalogicbyte.solaraifinance

Happy to share what I learned about RTL in Expo. It took more work than I expected.


r/expo • • 8h ago

Fix Dev Server Host Errors Behind an HTTPS Tunnel

Thumbnail
instawormhole.com
1 Upvotes

r/expo • • 20h ago

Shipping same-day fixes to two different app versions at once with Expo Updates (fingerprints + branches)

4 Upvotes

Short version: if your store builds sit on two versions, never merge main into the old branch. Cherry-pick the fix onto a release branch for the old version, check the fingerprint before you publish, and publish each runtime separately.
I learned this in my app's launch week (Expo SDK 57; Doxali, a free Bible and prayer app).

The problem: the App Store had version 1.2.3 while Android and older iPhones were still on 1.2.2. Each native build has its own runtime fingerprint, and an OTA update only reaches the runtime it was built for. Merging main into the old branch bumps the version, changes the fingerprint, and the update reaches nobody.

What worked:

  1. main stays the newest store version (iOS 1.2.3). Publish from main with --platform ios.
  2. Keep a release-1.2.2 branch for everyone still on 1.2.2. Cherry-pick the fix there. Never merge.
  3. Before publishing, run npx expo-updates fingerprint:generate --platform ios|android and compare it with the runtime of the build in the store. If they differ, stop.
  4. Publish both platforms from the release branch.
    One trap: config files are part of the fingerprint. Editing eas.json, or even package.json scripts, changes it, so a web-only tweak there can silently cut a build off from updates.

I also added a small AppState hook that checks for an update when the app returns to the foreground, downloads it quietly, and reloads only after 30+ minutes away, never in the middle of a prayer or a chapter. Happy to share the code if it helps.

How do you handle the window where your users are split across two store versions?

Seeding first comment, add right after posting:
Extra context from launch week: the fix I was shipping was a crash on one of the prayer screens, so waiting for everyone to update from the store was not an option. The release branch took about ten minutes to set up once I understood the fingerprint rule.

If anyone wants the AppState hook, say the word and I will paste it here.


r/expo • • 1d ago

Hey! We're making free starter templates for people who build Expo apps with AI agents. This is RunX. Would you start from something like this, or is it useless to you? Be honest.

6 Upvotes

The design idea: neon, old-school skeuomorphism. Glow, depth, chunky buttons you want to press. We were tired of every template looking flat and the same, so this one goes the other way on purpose.

What's inside:

  • Welcome carousel
  • Home with a product shelf
  • Product page
  • Cart and checkout
  • Profile and orders

About 19 screens, Expo Router, light and dark theme. Colors, fonts and spacing sit in one place, so you can reskin it without touching every screen.

The point is you don't start your agent from an empty project. You open this, tell Claude Code or Cursor what shop you want, and it builds on real screens.

You can click through it here, no sign-up: https://app.mapples.org/s/kRV_2c7164yWQfWXtJna9wiYZ4ebUrHWE1LF5_o_Eno?play=1

So, would you start from this? If not, what's wrong with it?


r/expo • • 20h ago

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

1 Upvotes

r/expo • • 1d ago

Built and shipped a kids' learning app fully on Expo — Router, Reanimated, Play Billing

1 Upvotes

Sharing my first big Expo release: Owlivo, a learning app for young children.

What worked well:

  • Expo Router for separate child and parent areas, with a "grown-ups only" gate in front of parent screens
  • Reanimated + Gesture Handler for finger tracing and drag-and-drop puzzles
  • EAS builds made Play Store releases painless

What took the longest: subscriptions with Play Billing (free tier + two paid plans + trial), and getting audio narration timed to highlight each sentence.

Here's the app if you want to see the result: https://play.google.com/store/apps/details?id=com.aqsalogicbyte.owlivo

Happy to answer questions about any part of the build.


r/expo • • 1d ago

6 config plugins I had to write to ship my Expo SDK 57 app on Google Play

4 Upvotes

I shipped Becoming on Google Play this month: an Expo app (SDK 57, React Native 0.86) that lines up photos taken weeks apart into one steady timelapse, all on the phone. My CI runs expo prebuild --clean on every build, so android/ is thrown away each time and every native change has to live in a config plugin. These are the six I ended up writing, each one for a real failure:

1. R8 ran out of memory. The first release build with R8 on died after twelve minutes of garbage collection: `OutOfMemoryError: Java heap space`. Expo's template gives Gradle 2 GB, and ML Kit + Skia + Expo come to about 34,000 classes. The plugin sets -Xmx4g and compiles Kotlin in-process, so it's one 4 GB JVM on GitHub's 7 GB runner instead of two.

2. The same class twice. A widget library asks for work-runtime:2.8.1, something else drags in `work-runtime-ktx:2.7.0`. At 2.8 AndroidX moved the ktx classes into work-runtime, so 2.7 next to 2.8 ships them twice and checkReleaseDuplicateClasses fails. The plugin pins both to 2.8.1. Nothing upgraded, nothing excluded.

3. A photo in the Recents switcher. The home screen shows your newest photo, often a face or a body, and Android keeps a screenshot of it on the app's card in the switcher. FLAG_SECURE would fix that but also block your own screenshots, which people take on purpose here. setRecentsScreenshotEnabled(false)(API 33+) shows the icon instead.

4. Uninstall deleted everything. Photos live only in the app's private storage, with backup off. android:hasFragileUserData (Android 10+) adds a "Keep app data" box to the system's uninstall dialog.

5. Play wanted native debug symbols. There's no crash SDK in the app, so Android Vitals is the only crash report I get. Setting ndk.debugSymbolLevel to SYMBOL_TABLE puts the symbol tables in the bundle, so a native crash in Hermes or Skia shows function names instead of addresses.

6. A storage permission I didn't need. expo-media-library declares write access through API 32; my saver uses scoped MediaStore from API 29, so the plugin caps WRITE_EXTERNAL_STORAGE at API 28.

Most of them are a plain function I can unit test without prebuilding, and the release workflow fails if the heap, WorkManager or symbols plugin didn't apply: a plugin that silently does nothing is worse than none.

What's the config plugin you had to write that you wish Expo shipped by default?


r/expo • • 1d ago

Meet Amakin, a geospatial AR app, winner of the Expo x ReactVision Hackathon

Thumbnail
reactvision.xyz
1 Upvotes

r/expo • • 2d ago

How Can I Improve the DEX Optimization Score on Google Play with Expo?

2 Upvotes

Hi everyone,

I recently upgraded to Expo SDK 58, which, as far as I know, enables R8 by default.

However, after building my AAB and uploading it to Google Play, the DEX code optimization status is reported as Low, with an optimization percentage of 0%.

Does anyone know how to fix it or what I should check to improve the DEX optimization score?

Any help or suggestions would be greatly appreciated.

Thanks!


r/expo • • 2d ago

Yeah, it’s Expo!!!

18 Upvotes

I launched the world’s most beautiful water tracker. I was tired of how ugly and generic they all looked, so I decided to make the most beautiful one-one that makes you want to open it as often as possible and play around with it.

I got bored of using a tracker that was too basic, I had absolutely no desire to open an app just to tap the “refill” button, so I decided to build my own solution.

In the end, I’m incredibly happy with how it works and yes, it’s built with Expo. I’d love to hear your feedback and questions.

P.S. I thought about naming the app “Liquid Glass” because it’s basically a glass of water.

App Store: https://apps.apple.com/us/app/mizu-water-tracker-reminder/id6814633548


r/expo • • 2d ago

Why is dex code optimization at 0% in android

4 Upvotes
 android: {
            enableMinifyInReleaseBuilds: true,
            enableShrinkResourcesInReleaseBuilds: true,


            extraProguardRules: `
              -keep class androidx.work.impl.WorkDatabase_Impl {
                  <init>();
              }
                    `,
          },

I have already done this. My obfuscation percentage and shrinking percentage are both decent, but why aint my optimization optimizing?


r/expo • • 2d ago

Running local GGUF LLMs (Llama 3.2) 100% offline in Expo 52 — Config Plugin setup & handling mobile OOMs

1 Upvotes

Hey everyone,

A common misconception I kept hearing in the React Native community is that running heavy on-device LLMs (via C++ llama.cpp bindings) requires ejecting into a messy bare workflow and manually hacking Gradle and CMake scripts every time.

Over the past few weeks, I’ve been testing and documenting a turnkey setup running Llama 3.2 (1B/3B) and Qwen 2.5 completely offline inside an Expo 52 project using Custom Development Clients (expo-dev-client) and Continuous Native Generation (prebuild).

Here are the key architecture hurdles and how we solved them for Expo:

  1. Native C++ Bindings via Config Plugins

Instead of touching native Android/iOS directories manually, we configured llama.rn (llama.cpp C++ bindings) through Expo config plugins.

- On iOS: Podspec configuration targets modern Apple Silicon frameworks (Accelerate and Metal).

- On Android: Custom build properties configure the NDK 26+ toolchain and CMake flags directly through app.json, so running "npx expo prebuild --clean" builds cleanly every time.

2. Model File Management (No binary bloat)

You can't (and shouldn't) bundle a 1.2GB GGUF model file inside your Expo app binary.

- We use expo-file-system to stream and manage local GGUF models directly to the app’s documentDirectory.

- Added checksum verification before loading into memory so corrupted downloads don't trigger native SIGSEGV crashes.

3. Preventing JS Thread Freezing & Thermal Runaway

Running inference on mobile hardware will easily trigger OS memory watchdogs (OOM kills) if peak RAM crosses ~1.2GB.

- Duty-Cycle Throttling: Token generation yields sub-millisecond slices back to the OS, allowing heat dissipation and ensuring the JS bridge and UI animations stay responsive at 60fps.

- Context Size Limits: Bound default context windows to 2048 with 4-bit KV caching, keeping active RAM consumption under ~850MB for 1B Q4_K_M quants.

- Token Checkpointing: Streaming tokens are committed to local SQLite incrementally, so if the app is backgrounded, user session history remains intact.

Real Device Performance (Llama 3.2 1B Q4_K_M):

- iPhone (A16 / A17 Pro): ~16 – 22 tokens/sec

- Snapdragon 8 Gen 2 / Gen 3: ~12 – 18 tokens/sec

- Mid-range (Dimensity 7000 / 8000): ~6 – 10 tokens/sec

The architecture, Expo config plugin examples, and documentation are open on GitHub:

https://github.com/Itsvks17/localai-mobile

Curious to hear from other Expo devs: is anyone else experimenting with local edge AI in Expo 52? How are you handling model downloading and caching strategies in production?


r/expo • • 3d ago

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

2 Upvotes

I posted this Expo starter a couple weeks ago, and I promised an SDK 58 update soon. A commenter also suggested generating the query keys from the OpenAPI spec instead of hand writing key factories, and I said I'll add it on the next drop. Both are out now. It's on SDK 58, the spec-derived queries and mutations cover the whole data layer, and it's now an npm package, so you can start a project with:

npx create-expo-app my-app --template u/amirgazerani/expo-starter-pack

There's a LOT more into this release, so here's all of it.

SDK 58

The starter now runs on Expo SDK 58 with React Native 0.88, React 19.3 and the New Architecture, with expo-router's typed routes. If you're still on SDK 57, that version stays available on GitHub under the sdk-57 tag.

Query keys and mutations come from the spec

Before, every resource had a key factory I had to keep in sync with the backend:

ts

export const itemKeys = {
  all: ["items"] as const,
  lists: () => [...itemKeys.all, "list"] as const,
  detail: (id: number) => [...itemKeys.all, "detail", id] as const,
};

Now keys and query options are derived from the method and path, so there are no factories, and a create mutation is this:

ts

export function useCreateItem() {
  const queryClient = useQueryClient();
  return $api.useMutation("post", "/v1/items", {
    onSuccess: () =>
      queryClient.invalidateQueries({
        queryKey: $api.queryOptions("get", "/v1/items").queryKey,
      }),
    meta: { skipGlobalError: true },
  });
}

I invalidate with the same call I fetch with, and the mutation variables are the request itself: mutate({ body, params }). If the backend renames something, I regenerate the types and TypeScript lists every call that broke.

Mutations that need to shape the request, like login, which adds the device name and stores the token, are still written by hand using the same predesigned conventions as before.

A complete UI kit instead of scattered components

This is the biggest visual change. The kit now has buttons (solid, outline, ghost and gradient), inputs, text areas, switches, checkboxes, radio groups, chips, badges, avatars, cards, dropdowns, modals and toasts. Modals come as center, bottom sheet, fullscreen and side drawer. Everything that used to be decided per component is now centralized:

  • Theme tokens for colors, radius and spacing, with light and dark mode. To rebrand, edit one file.
  • Typography in one file. List your font files, map them to the four weights and pick a default family. Body text, button labels and field labels each get their own default weight, so changing the font of the whole app is one setting, and no component hard-codes a font.
  • One size scale (sm, md, lg) shared by every control, so a md button and a md input are the same height. To make the whole kit a bit bigger, change the numbers once. A single component can still override.

I also replaced sonner-native with my own toast store, so toast.error() works from anywhere, not only inside components. It has swipe to dismiss, a countdown bar and dedupe, and the modal mounts its own host so toasts show above it.

The app documents itself

The Home tab documents every component with its props, an import line and live variants. The Data tab explains the networking, mutations, how the token is stored and how errors are handled. A demo dashboard shows an infinite list, create and delete, and a profile form with inline validation errors, and each section names the file it's built from.

When you start a real project, npm run strip-example removes all of it, plus any API resource only the demo used, and leaves a Hello world home screen and an empty dashboard under the same auth guard. It shows you the plan first, won't run on a dirty git tree, and type-checks before and after.

Backend

The mock backend is still there, and the template assumes a Laravel-style JSON API for your real backend. If yours is different, no worries, the README lists the files you need to change.

Links:

Give it a shot and tell me how it goes. If you like it, a star on the repo helps. If you have a suggestion, open an issue; they'll be evaluated.


r/expo • • 3d ago

Created first game using Expo

2 Upvotes

Created my first game using Expo + React Native Skia

check my game out Bitwalker. It is offline game with no ads.


r/expo • • 3d ago

Career Switch!

Thumbnail reddit.com
0 Upvotes

r/expo • • 4d ago

Share Private Client Demos With Six-Digit Email Codes

Thumbnail
instawormhole.com
2 Upvotes

r/expo • • 4d ago

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

3 Upvotes

r/expo • • 4d ago

Shipping an Expo SDK 57 app to TestFlight without EAS: 6 things that bit me

3 Upvotes

Solo dev here. I just got my first Expo app through TestFlight beta review. It's a React Native 0.86 app with expo-router, NativeWind, Sign in with Apple, local notifications and subscriptions through expo-iap. I build everything locally with xcodebuild instead of EAS, mostly because I wanted to see every step. Here's what cost me the most time, in case it saves someone an evening.

  1. Env flags have to be set at xcodebuild time too, not only at prebuild. I put capabilities (push, Sign in with Apple, universal links) behind env flags in app.config.ts. Prebuild looked right, but the app still behaved like the flags were off. Xcode runs app.config.ts again during the build and writes Constants.expoConfig from that run. If the flags aren't in the environment of xcodebuild, you ship a different config than the one you prebuilt.
  2. Capabilities behind flags keep the free personal team usable. A personal team can't sign push or Sign in with Apple. With the flags off, the same project still builds and runs on my phone for quick testing. Store builds turn them on.
  3. Dev and prod side by side on one phone. An APP_VARIANT switch gives the dev build its own bundle ID, name, icon (with a DEV band) and URL scheme. They don't overwrite each other and each keeps its own login and storage. That saved me from logging out of prod every time.
  4. App Store Connect refused builds from the newest Xcode. Uploads made with Xcode 27.2 were rejected, so I archive with 27.1 by pointing DEVELOPER_DIR at the older Xcode. Keep an older Xcode installed until ASC catches up.
  5. An App Manager API key can't do cloud signing. Automatic signing through the API key failed for distribution. A manual App Store provisioning profile plus ExportOptions.plist with manual signing worked on the first try.
  6. Monorepo shared packages need Metro to force one copy of react. The app imports shared zod schemas from ../../packages through file: links. Metro happily bundled two copies of react and zod until I pinned them all to apps/mobile/node_modules in metro.config.js.

Bonus: I set up the 4 subscriptions (two tiers, monthly and yearly) with a small script against the App Store Connect API instead of clicking through the web UI. Worth it if you'll ever redo them.

The app is Journail, a daily planner and journal: an AI Assistant helps plan the morning and the evening turns into a short journal entry. It's in public TestFlight now and I'm looking for a few testers. Even one day of use and a couple of blunt notes helps a lot: https://testflight.apple.com/join/8sY6n5wr

Happy to go deeper on any of these. And if you ship Expo apps without EAS, what did I miss?


r/expo • • 4d ago

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

Post image
1 Upvotes

r/expo • • 4d ago

I'm building my ideal workout tracker app for iOS and would love some design ideas!

Thumbnail
gallery
0 Upvotes

Hey everyone!

I'm a high school student working on a personal iOS workout tracker called TAURUS. I wanted to build my own ideal gym app with a clean, beautiful, native iOS feel and a really enjoyable workout tracking experience.

I've already made quite a bit of progress with the design and functionality.

The screens I'm currently happiest with are:

  • The active workout screen
  • The new routine creation system
  • The calendar page
  • The icon switcher and theme switcher in Settings

I'm also fairly happy with the Home screen, although I think it could benefit from a lot of new design ideas and improvements.

The rest of the app is still mostly made up of placeholder screens and concepts generated with Claude. I haven't really decided what those screens should look like or how some of the features should work yet.

That's where I'm hoping to get some help!

I'd love to hear your thoughts on:

  • What other screens and features a great workout tracker should have
  • Ideas for the Home screen and the parts of the app that are still unfinished
  • UI/UX suggestions that could make the app feel more polished and enjoyable
  • Any features you've always wanted in a workout tracking app

Originally, this was just a project for myself, but if people are interested, I'd love to eventually release it on TestFlight and possibly the App Store.

I'm not trying to build some massive fitness platform. I just want to make a really good workout tracker that feels great to use.

I'm attaching some screenshots and a google drive link for the video ( it just refuses to upload and stays stuck at "100% Uploading" )of the current design. Any feedback, ideas, or suggestions would be greatly appreciated!
https://drive.google.com/file/d/1Iu9v6_WGBwTDbVuAlhQkM20Yx-Jo08OS/view?usp=sharing

Thanks!


r/expo • • 5d ago

I just shipped the agent-native layer for AniUI (shadcn-style RN component lib) — MCP server, shadcn-spec registry, llms-full.txt

Thumbnail reddit.com
1 Upvotes

r/expo • • 5d ago

Tunnel Vite, Next.js, Expo and Laravel Dev Servers

Thumbnail
instawormhole.com
1 Upvotes

r/expo • • 6d ago

Shipping a solo Expo game to both stores: fingerprint OTA, permission audits, and an Apple rejection I didn't see coming

4 Upvotes

I've been working on a sudoku game with live 1v1 duels, solo, on Expo. It's on both stores now. I wrote about the real-time side in r/reactnative (https://www.reddit.com/r/reactnative/comments/1xzgz8j/realtime_1v1_sudoku_with_expo_firebase_what/), so this one is about the Expo side, mostly the release stuff that bit me.

Stack: SDK 57, Expo Router, expo-sqlite for local games, u/react-native-firebase, AdMob with mediation, RevenueCat. Full CNG, I never touch ios/ or android/ by hand. If something native looks weird I just run prebuild --clean and regenerate instead of fighting pods.

Best decision I made. An OTA only reaches builds with the same native layer, so I can't push JS that expects a module the installed build doesn't have.

The thing I didn't realize at first: expo.version is part of the fingerprint. Bump 1.7.0 to 1.8.0 and that's a new runtime, so any OTA you publish afterwards never reaches people still on the old version. So my rule now is: OTA never touches the version, and the version only changes in the commit that prepares a store build. Build numbers are handled by EAS (appVersionSource: remote), I don't set them.

In practice I only use OTA for critical fixes. Everything else waits for a store build.

Apple rejected one of my builds for declaring background audio. I don't play audio in the background, a package just added UIBackgroundModes: audio by default. Fix was one line in app.json (expo-audio has enableBackgroundPlayback: false), and on Android android.blockedPermissions does the same job for permissions.

What I learned: app.json doesn't tell you the whole story. After adding any package I check the actual build output: plutil -p on the IPA's Info.plist, codesign -d --entitlements for entitlements, and the uses-permission lines in the AAB manifest. Takes five minutes and would have saved me a review cycle.

Unrelated to Expo but same lesson: Google rejected me twice under the Families Policy because I'd ticked the 9-12 age group in target audience. Moved it to 13+ and it went through.

Every new native module means a new store build and a new runtime. If I can do something in JS or with a module Expo already ships, I go that way.

Curious how others draw the line between OTA and store builds. And has anyone automated the permission check in CI? Right now it's a manual step for me.

Android: https://play.google.com/store/apps/details?id=com.hangarapps.sudokuiOS: https://apps.apple.com/app/id6817127654