Developers worried about surpassing mobile app size limits can find salvation in the new modular SDK from MoPub. It allows developer to customize the SDK for only the ad formats they want or need to use. This means developers have more control over their app's size and can improve performance.
MoPub is a hosted ad-serving solution built specifically for mobile publishers. It is owned and operated by Twitter. The company believes that introducing a modular architeture for its iOS and Android apps will help developers better customize their ads for regions around the world.
Many mobile apps (and games in particular) surpass the 1 GB mark in size, but there are still practical limits to how big a mobile app can be. For example, iOS apps that clock in at more than 100 MB cannot be downloaded over cellular networks and instead require WiFi. Breaching this threshold can put up enough of a roadblock to convince end users to abandon the download. Android apps have similar size limits.
The modular SDK from MoPub helps developers minimize the space consumed by the SDK in order to improve download speeds and leave more room for the app itself. MoPub says developers can pick and choose the ad formats they want to work with (banner ads, native ads) rather than the entire set.
"With MoPub, you have the freedom to update your formats at any time, without any commitment to the formats that you’ve previously chosen," wrote MoPub's Elena Elfimova in a blog post.
The modular structure lets developers embed only park of the SDK in their app. MoPub claims this can result in disk space savings of up to 60% in Android apps and up to 35% in iOS apps. Moreover, Android publishers can stay under the 64Ki dex method limit, while iOS developers can trim code down to the bare minimum and integrate either the full SDK or everything except native formats. MoPub says more flexibility for the iOS SDK will come later.
Depsite the size reductions, the modular MoPub SDKs offer all the same functions that the full version includes. The company says it will continue to update the SDKs over time to improve the app-publishing experience and the ability to capture revenue through ads.