Home / Companies / Expo / Blog / Post Details
Content Deep Dive

Ship smaller OTA updates: bundle diffing comes to EAS Update in SDK 55

Blog post from Expo

Post Details
Company
Date Published
Author
-
Word Count
624
Language
English
Hacker News Points
-
Summary

SDK 55 introduces bundle diffing in EAS Update, aimed at reducing download sizes by allowing devices to download only the changes between updates rather than full bundles, resulting in up to 75% smaller downloads. This new feature, currently in beta and opt-in, uses the bsdiff algorithm to create patches that are applied locally on devices, significantly decreasing download times for Hermes bytecode and JavaScript on both Android and iOS. To utilize bundle diffing, apps must be on Expo SDK 55 or later and enable the feature in their configuration. However, bundle diffing has limitations, such as not supporting embedded bundles and requiring devices to be running the latest published update to receive a patch. Although patches are generally generated soon after an update is published, there may be a short delay during which full bundles are served. Developed to lower bandwidth costs and improve update efficiency, the team invites feedback through Discord or their website to further refine this feature.