Skip to content

Change mediaId from String to int in bridge for media upload#487

Merged
mzorz merged 2 commits intofeature/upload_media_file_androidfrom
fix/media-id-int-android
Jan 23, 2019
Merged

Change mediaId from String to int in bridge for media upload#487
mzorz merged 2 commits intofeature/upload_media_file_androidfrom
fix/media-id-int-android

Conversation

@mzorz
Copy link
Copy Markdown
Contributor

@mzorz mzorz commented Jan 23, 2019

This fixes the block validation error when uploading media on Android, and matches media handling in Gutenberg and WP media library.

To test:

  1. using WPAndroid, try to upload a new image from the device, verify it uploads.
  2. exit the editor and verify it uploads the Post
  3. verify on the web, that the Post is shown and no validation errors occur.

@SergioEstevao as chatted, I guess you have this covered on the iOS side, but mentioning you here and asking for review just in case (not needed if the change is obvious to you). Thanks!

Copy link
Copy Markdown
Contributor

@SergioEstevao SergioEstevao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mzorz mzorz merged commit 2d9b63d into feature/upload_media_file_android Jan 23, 2019
@mzorz mzorz deleted the fix/media-id-int-android branch January 23, 2019 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants