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

Add expo flag to react_native_context #3022

Closed
krystofwoldrich opened this issue Apr 28, 2023 · 1 comment
Closed

Add expo flag to react_native_context #3022

krystofwoldrich opened this issue Apr 28, 2023 · 1 comment

Comments

@krystofwoldrich
Copy link
Member

Description

Similar to how we collect information about hermes, turbo_modules, and others. It's useful debug information for RN developers to know if the app is running Expo or plain RN.

if (isHermesEnabled()) {
reactNativeContext.js_engine = 'hermes';
} else if (reactNativeError?.jsEngine) {
reactNativeContext.js_engine = reactNativeError.jsEngine;
}

@krystofwoldrich
Copy link
Member Author

Sloved by #3050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant