HomePhabricator
Diffusion Comm ebc47bb5023e

[native] Prevent media cache errors from crashing app

Description

[native] Prevent media cache errors from crashing app

Summary: Context is in ENG-3620.

Test Plan:
I compiled a prod build to my physical device. I had a repro where I logged out and back in twice in a row, the app would crash.

With this change, the app no longer crashed. After enabling prod logs by editing native/babel.config.cjs, I was able to see this log in Xcode:

[javascript] [Error: clear_media_cache_failed]

Reviewers: atul, bartek

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7574

Details

Provenance
ashoatAuthored on Apr 21 2023, 2:23 PM
Reviewer
atul
Differential Revision
D7574: [native] Prevent media cache errors from crashing app
Parents
rCOMM5f1ae61d35dd: [native] remove async in saveENSUserAvatar callback
Branches
Unknown
Tags
Unknown