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

Android: Add error description to Image onError callback #22737

Closed
wants to merge 2 commits into from

Conversation

Jyrno42
Copy link
Contributor

@Jyrno42 Jyrno42 commented Dec 20, 2018

fixes #19073

Changelog:

[Android] [Fixed] - Add error description to Image onError callback

Test Plan:

Verified on CircleCI via integration tests.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Tests This PR adds or edits a test case. labels Dec 20, 2018
Copy link

@analysis-bot analysis-bot left a comment

Choose a reason for hiding this comment

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

Code analysis results:

  • eslint found some issues.

ReactAndroid/src/androidTest/js/ImageErrorTestApp.js Outdated Show resolved Hide resolved
@Jyrno42
Copy link
Contributor Author

Jyrno42 commented Dec 20, 2018

404 support in fresco mentioned here seems to have landed (see "image-3" in ImageErrorTestCase)

@Jyrno42
Copy link
Contributor Author

Jyrno42 commented Dec 20, 2018

@analysis-bot changes done

**Test Plan**: Verified on CircleCI via integration tests.

**Changelog:**

[ANDROID][BUGFIX][Image] - Add error description to onError callback

fixes facebook#19073
@Jyrno42 Jyrno42 force-pushed the bug-android-image-onError branch from 83d2625 to 9d6e5ec Compare December 21, 2018 11:08
@Jyrno42
Copy link
Contributor Author

Jyrno42 commented Jan 14, 2019

cc @hramos

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jan 15, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@Jyrno42 merged commit 7795a67 into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 25, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 25, 2019
grabbou pushed a commit that referenced this pull request Feb 4, 2019
Summary:
fixes #19073

Changelog:
----------

[Android] [Fixed] - Add error description to Image onError callback
Pull Request resolved: #22737

Differential Revision: D13676224

Pulled By: hramos

fbshipit-source-id: 0dea7e97ae6517b8980ad02827f19d22cd3ef933
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
matt-oakes pushed a commit to matt-oakes/react-native that referenced this pull request Feb 7, 2019
)

Summary:
fixes facebook#19073

Changelog:
----------

[Android] [Fixed] - Add error description to Image onError callback
Pull Request resolved: facebook#22737

Differential Revision: D13676224

Pulled By: hramos

fbshipit-source-id: 0dea7e97ae6517b8980ad02827f19d22cd3ef933
t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
)

Summary:
fixes facebook#19073

Changelog:
----------

[Android] [Fixed] - Add error description to Image onError callback
Pull Request resolved: facebook#22737

Differential Revision: D13676224

Pulled By: hramos

fbshipit-source-id: 0dea7e97ae6517b8980ad02827f19d22cd3ef933
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: Image Merged This PR has been merged. Platform: Android Android applications. Tests This PR adds or edits a test case.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image onError logs undefined on Android
6 participants