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
F3394828: D7543.diff
Sat, Nov 30, 10:36 PM
Unknown Object (File)
Sat, Nov 23, 9:39 PM
Unknown Object (File)
Sun, Nov 3, 4:46 AM
Unknown Object (File)
Fri, Nov 1, 9:13 AM
Unknown Object (File)
Fri, Nov 1, 9:13 AM
Unknown Object (File)
Fri, Nov 1, 9:13 AM
Unknown Object (File)
Fri, Nov 1, 9:13 AM
Unknown Object (File)
Fri, Nov 1, 9:12 AM
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