Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic assets not load in production APK build #2731

Open
dendianugerah opened this issue Nov 29, 2024 · 0 comments
Open

Dynamic assets not load in production APK build #2731

dendianugerah opened this issue Nov 29, 2024 · 0 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@dendianugerah
Copy link

Build/Submit details page URL

https://expo.dev/accounts/dend1aa/projects/pacific-caesar/builds/a42670b2-9386-41e7-bbb2-0a846fc3996f

Summary

Dynamic assets fail to load consistently in the production APK across different devices. Some assets may load on one device but not on another, and in some cases, no assets load at all (e.g., on emulators). The issue does not occur in development or local builds, only in the production APK.

Managed or bare?

Managed

Environment

expo-env-info 1.2.1 environment info:
System:
OS: Windows 11 10.0.26100
Binaries:
Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: AI-242.23339.11.2421.12550806
npmPackages:
expo: ~51.0.38 => 51.0.38
expo-router: ~3.5.23 => 3.5.23
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.5 => 0.74.5
react-native-web: ~0.19.10 => 0.19.12
Expo Workflow: managed

Error output

No response

Reproducible demo or steps to reproduce from a blank project

  1. Create a new Expo project with dynamic assets.
  2. Build the APK using EAS Build (eas build -p android).
  3. Install the APK on different devices (physical devices and emulator).
  4. Observe asset loading inconsistencies across devices.
@dendianugerah dendianugerah added the needs review Issue is ready to be reviewed by a maintainer label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant