-
Notifications
You must be signed in to change notification settings - Fork 13
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
Changes to integrate with WPiOS app. #69
Conversation
… require modifying imports.
…-mobile/react-native-aztec into feature/adding-podspec
#import <React/RCTViewManager.h> | ||
|
||
// USE "WordPress-Swift.h" to run on WPiOS, or "RNTAztecView-Swift.h" to run Example App. |
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.
This is a small hack to be able to build WPiOS app. I plan to remove this in the near future.
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.
Let's move ahead with the changes. I did review this PR to the best extent of my knowledge but it seems to be a work in progress so...
I'm approving this optimistically since there seems to be a lot of work in progress around this integration.
This PR introduces some changes to integrate with the WPiOS app.
I opted for temporarily remove images and attachment handling in favour of a simpler Bridge implementation. This is to avoid a direct dependency between
Aztec
andRNReactNativeGutenbergBridge
.We might find out that this dependency is unavoidable, but for simplicity sake on this first step, I'd prefer to work without it. I plan to reimplement or clean up the commented code as soon as we decide on the path to follow with the general integration.
This PR also adds a
podspec
file, but is not really being used yet. I plan to use it in the near future and I'd like to keep it here for now. We can remove it later if we end up not using it at all.We need to merge this before merging the main iOS bridge implementation.
To test:
Paragraph
block contains attachments.