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

[android] expo 51 crashs on android with jsEngine of jsc #29040

Open
hirwaaldo1 opened this issue May 22, 2024 · 3 comments
Open

[android] expo 51 crashs on android with jsEngine of jsc #29040

hirwaaldo1 opened this issue May 22, 2024 · 3 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@hirwaaldo1
Copy link

Minimal reproducible example

https://github.com/hirwaaldo1/expo-51-issue-android

What platform(s) does this occur on?

Android

Did you reproduce this issue in a development build?

Yes

Summary

am using Expo 51, the latest version of Expo and SDK, but I also want to use "JSC" as the jsEngine. However, it is not working on Android; it works fine on iOS. On Android, it opens Expo Go and starts bundling, but after that, Expo Go crashes and closes itself (the whole Expo Go application).

Environment

expo-env-info 1.2.0 environment info:
System:
OS: macOS 13.6.6
Binaries:
Node: 18.17.0
Yarn: 1.22.21
npm: 10.2.4
Watchman: 2024.03.25.00
Managers:
CocoaPods: 1.14.3
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2
IDEs:
Android Studio: 2022.3
Xcode: 15.1/15C65
npmPackages:
expo: ~51.0.5 => 51.0.5
react: 18.2.0 => 18.2.0
react-native: 0.74.1 => 0.74.1
npmGlobalPackages:
eas-cli: 7.1.1
expo-cli: 6.3.10
Expo Workflow: managed

Expo Doctor Diagnostics

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK
✔ Check that packages match versions required by installed Expo SDK

@hirwaaldo1 hirwaaldo1 added the needs validation Issue needs to be validated label May 22, 2024
@expo-bot expo-bot added needs review Issue is ready to be reviewed by a maintainer and removed needs validation Issue needs to be validated labels May 22, 2024
@Nkgohil007
Copy link

@hirwaaldo1
Run this app using expo development build
it will resolve the issue.

@hirwaaldo1
Copy link
Author

Thanks @Nkgohil007, but I think we use development build mode when we already have the APK installed on the phone. That means the app will not run based on Expo Go!

@The-Anomaly
Copy link

Is there a solution for this yet? I upgraded my expo app to SDK 51 and the app crashes when jsEngine is set to jsc.

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

4 participants