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

Changes to integrate with WPiOS app. #69

Merged
merged 18 commits into from
Nov 8, 2018
Merged

Conversation

etoledom
Copy link
Contributor

@etoledom etoledom commented Nov 7, 2018

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 and RNReactNativeGutenbergBridge.

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:

  • Build and run the iOS bridge implementation branch.
  • Check that there are no errors.
  • We expect a crash if the Paragraph block contains attachments.

@etoledom etoledom self-assigned this Nov 7, 2018
#import <React/RCTViewManager.h>

// USE "WordPress-Swift.h" to run on WPiOS, or "RNTAztecView-Swift.h" to run Example App.
Copy link
Contributor Author

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.

Copy link
Contributor

@diegoreymendez diegoreymendez left a 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.

@etoledom etoledom merged commit ca533ae into master Nov 8, 2018
@etoledom etoledom deleted the feature/adding-podspec branch November 8, 2018 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants