Page MenuHomePhabricator

[native] Alert user when `UPDATE_USER_AVATAR` call fails
ClosedPublic

Authored by atul on Apr 19 2023, 2:02 PM.
Tags
None
Referenced Files
F2147083: D7543.id25431.diff
Sun, Jun 30, 12:58 AM
F2145211: D7543.id25427.diff
Sat, Jun 29, 9:38 PM
Unknown Object (File)
Sat, Jun 29, 6:52 AM
Unknown Object (File)
Fri, Jun 28, 6:06 PM
Unknown Object (File)
Fri, Jun 28, 6:06 PM
Unknown Object (File)
Fri, Jun 28, 6:06 PM
Unknown Object (File)
Fri, Jun 28, 6:06 PM
Unknown Object (File)
Fri, Jun 28, 6:05 PM
Subscribers

Details

Summary

Handled image selection/processing/upload in D7530, this handles the update avatar call in a slightly different way (as discussed in the that diff)

Test Plan

Modify updateUserAvatarResponder to make sure request fails and observe that Alert appeared as expected:

e4544c.png (1×2 px, 881 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Apr 19 2023, 2:05 PM

I have no idea why, but it looks like this diff is breaking things..

atul planned changes to this revision.Apr 19 2023, 3:31 PM
atul requested review of this revision.

Oh no shit it wasn't updating the image.... I'm awaiting without returning smh

lgtm good catch with that bug

This revision is now accepted and ready to land.Apr 19 2023, 3:43 PM
This revision was landed with ongoing or failed builds.Apr 19 2023, 4:08 PM
This revision was automatically updated to reflect the committed changes.

The Android build was consistently failing here… any cause for concern?

The Android build was consistently failing here… any cause for concern?

Issue with maven pulling in dependencies