Files
buzz/mobile/ios/RunnerTests
Tom Brow 05ea38d498 perf(mobile): load iOS picker custom emoji through the media cache, animated
The native iOS emoji picker downloaded custom emoji in Swift, keyed its
in-memory cache by the whole request (including a media proof signed fresh
for every call, so it never hit), saved nothing to disk, and decoded only the
first frame. Native cells now ask Flutter for each emoji's bytes, which come
from the in-memory bytes cache, then the media disk cache, else one download
through the shared media client that is saved once it decodes. Swift decodes
every frame and keeps decoded images by URL. A cell that scrolls away cancels
its request.

Deletes the Swift downloader, its concurrency limiter, the per-image header
round trip and the redirect policy that only it used.

Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@buzz.block.builderlab.xyz>
Signed-off-by: Tom Brow <tomb@squareup.com>
2026-11-13 10:34:10 -08:00
..