-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 a few import required for the React Native wrapper distribution as iOS XCFramework #50009
Add a few import required for the React Native wrapper distribution as iOS XCFramework #50009
Conversation
Without this, when using the experimental static linking which should hopefully enable us to wrap Gutenberg mobile in an XCFramework to import in iOS projects, we'd get a build failure with `WKUserScript` not found.
This allows the compiler to find the `RCTLogLevel` type used in the file.
This allows the compiler to find the `RCTEventEmitter` type which is used in the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! CI checks passed and I also tested it locally using the demo app and also the main apps 🚀
@mokagio Let me know if you want me to merge it, not sure if you have rights to merge. Thanks! |
Thanks @geriux ! 🙌 Yes, I'd like this to be merged at your earliest convenience. Once it lands, it will allow me to stop pointing to a different submodule commit and use whatever is set in |
Merged! By the way it looks like you have enough contributions merged to be able to request contributor access 🎉 you can find more info about it here, more specifically:
|
Thanks @geriux 🎉 |
What? Why? and How?
Adds a few imports in a few
react-native-bridge/ios
code. These are required for the setup to compile, as can be seen in wordpress-mobile/gutenberg-mobile#5695Testing Instructions
This PR should not affect the plugin behavior as it only touches files in the React Native brige package. As far as I understand the setup, green CI in the [
gutenberg-mobile
PR using these changes]wordpress-mobile/gutenberg-mobile#5695) should be enough to establish correctness.Testing Instructions for Keyboard
N.A.
Ping @fluiddot @geriux can you help me get this reviewed and merged? I don't have the rights to ask for a review. Thanks!