Emerge Tools Profile picture
Jul 9 11 tweets 4 min read Read on X
Good question @VishalMalvi_ ! Here's what's going on behind the scenes of the @gmail iOS app 👇 Image
Here are the biggest chunks of the app

Main app target - 225 MB
Plugins - 99 MB
Dylibs - 46 MB
Localizations - 130 MB 👀
Image
Image
The Localization size might shock people, but its a frequent problem in iOS

When downloaded, iOS apps contain all languages that an app supports, whereas on Android, a user will only download the languages they need

This is *one* of the reasons that Android apps are typically smaller than iOS
If you're interested in a deep dive in localizations and want to know how they can be optimized, well we have the thread for you 🤓

For the plugins (99 MB), most the size is coming from the ShareExtension at 70.5 MB Image
As far as optimizations go, one of the more interesting ones comes from the sheer number of files in Gmail

There's over 20k files in the app, 17k of which are under 4 kB. In iOS, the minimum file size allocation is 4 kB, so having many small files causes unnecessary size bloat. Gmail could save 56.4 MB by moving their small files to an Asset catalog

(again a reason why iOS apps are bigger than Android apps 🤷‍♂️)Image
Small files are actually something we've covered in depth before in the @CandyCrushSaga app + the difference in iOS vs. Android
emergetools.com/deep-dives/can…
FWIW, it seems like all the popular mail apps on iOS are big, but Gmail takes the cake 🎂

Gmail - 544.2 MB
Microsoft Outlook - 320.5 MB
Yahoo Mail - 300 MB
Here's a link to the original tweet, thanks to @SwiftDev_UI for tagging us!
Here's the link to our Gmail analysis, there's more goodies if you want to investigate 🔎
emergetools.com/app/example/io…
For people wondering what tools we used 🫣

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Emerge Tools

Emerge Tools Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @emergetools

Sep 24
Do you want a paid wallpaper app from @MKBHD?

Maybe not? Well do you want to know how its made 🤓

🧵 Looking inside the new @Panels_art app, starting with ads Image
🎤 Ads have been a big topic

Panels is using Google Ads in both iOS (GAD) & Android

On Android, is the largest dependency in the dex com.google.android.gms.internal.ads

Image
Image
☠️ Looking at it another way, we're monitoring over 16k classes in the entire Android app with Reaper

Of that, 4,172 (25%) of classes are related to Google Ads 😬 Image
Read 11 tweets
Sep 5
Oohhoho this one looks fun!

Let's take a look at why the @SantanderUK iOS app is at a whopping 613.3 MB and how 35% of it does nothing for the user 🧐 Image
Right off the bat, it looks like most of the app (587.6 MB) is dynamic frameworks

Dylibs let you share code between targets, but are larger than static frameworks b/c static let's the compiler strip dead code. It's likely that Santander doesn't need ALL of those to be dynamically linkedImage
Also, note the "String Tables" in the dynamic frameworks— these are unnecessary binary symbols that can be stripped out and save 215.5 MB (35% of install size) for Santander UK 🤓Image
Image
Read 10 tweets
Jun 24
Another day, another "How is this app so big tweet" 🤓

This time its the @DJIGlobal iOS app, which comes in at 1 GB Screenshot of tweet of the DJI Mimo app store with the text "New app size recrod"
A lot of the comments speculated that the app was large due to assets & while there are 155 MB of .mp4 video files, the bulk of the size is coming from ML models Pie chart of app size showing 155 MB (15%) are coming from videos
There's 264 MB of .mlmodelc files - these are compile Core ML Models which are designed to run on Apple devices. Some of the biggest models 👇

face_feature.mlmodelc - 68.7 MB
inpainting_l2.mlmodelc - 50.8 MB
pet.mlmodelc - 30.5 MB Screenshot showing .mlmodelc files in a treemap
Read 8 tweets
Mar 25
These are the best 🥲... breaking down why @LinkedIn iOS is half a GB

Here's a top level view of the latest version of LinkedIn

300 MB for just dynamically linked frameworks & Plugins is...a lot. In fact, just the Dylibs & Plugins today are bigger than the entire app was back in November 2022 🫠
Emerge X-Ray of LinkedIn App showing 187.5 MB of Dylibs, 109.9 MB of Plugins, and a 110.6 MB main app binary
Size tracker of LinkedIn iOS app showing the app was 292.9 MB in November 2022 and is now ~450 MB
And the Plugins and Frameworks seems to be where the greatest inefficiencies lie. Here is a more detailed look at the LinkedIn Plugins + the dynamically linked VoyagerLibs.framework

Notice anything fishy?
Treemap of VoyagerLibs.framework. Many of the nodes are in a dark red, indicating duplicate resources
Treemap of two LinkedIn app extensions. Many of the nodes are in a dark red, indicating duplicate resources
Read 10 tweets
Mar 8
Finding accessibility issues in an app is an incredibly manual task that can take hours depending on the size. Which seems like a perfect place for ✨AI ✨

🧵Surfacing accessibility issues in the @Drizly app w/ AI 🧠
A quick background - our Snapshots product turns Previews into snapshots. A recent feature gives the ability to use AccessibilitySnapshot w/ one line

You don't need to write test code to get snapshot tests or to snapshot VoiceOver elements
Code snippet showing `emergeAccessibility(true)` on a PreviewProvider
Drizly Preview with annotations of VO elements
We can take snapshots for any app leaking Previews into production, which @Drizly (and many other apps) are. We were able to generate 86 snapshots for Drizly

We then fed these images into an AI we're working on to detect accessibility errors. Here's what we found
Read 9 tweets
May 23, 2023
Last week we wrote how @peacock reduced app size & app launch after moving from RN to native

By beautiful chance, another streaming app did the same this week. Did the same effects occur? Well, yes, no & it depends

🧵 Breaking down HBO's new Max app
So, HBO Max is now Max. New app, new bundle id, new logo, & entirely new codebase. Let's start by comparing the iOS size and architecture

iOS
HBO Max (old app): v53.20.1 - 60.4 MB install size
Max (new app): v1.0.1 - 108.8 MB

The new iOS app is 48.4 MB (~80%) bigger
Here's our X-Ray for the old HBO Max app. It consists of

~18 MB of images (top left)
~11 MB main.jsbundle (top right)
~15 MB main binary (bottom left)

The rest are misc frameworks, plugins, bundles, fonts, etc. Treemap of the HBO Max iOS ...
Read 22 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(