Android Instant Apps, step-by-step: how Vimeo went about it

Kyle Venn
Kyle Venn
Jun 14, 2017 · 9 min read
Image for post
Image for post

What are Android Instant Apps?

Image for post
Image for post

How do I refactor my massive app to support AIA features?

Phase one: the quick and dirty approach

Image for post
Image for post
APK Analyzer

Phase two: the right approach

Image for post
Image for post
Left: APK Analyzer, Right: Dexcount Gradle Plugin
./gradlew -q dependencies <module_name>:dependencies --configuration compile

Removing, replacing, and abstracting dependencies.

Image for post
Image for post
Left: Monolithic player architecture, Right: DI reliant player architecture

Putting it all together


Vimeo Engineering Blog

We tinker, we build, and we dream up all-new things to help…

Thanks to Anthony Restaino and Kevin Zetterstrom

Kyle Venn

Written by

Kyle Venn

Android dev @Vimeo / Cat Facts (catfacts.co)

Vimeo Engineering Blog

We tinker, we build, and we dream up all-new things to help support the world's best community of creators. Lift up the hood and see how it all works.

Kyle Venn

Written by

Kyle Venn

Android dev @Vimeo / Cat Facts (catfacts.co)

Vimeo Engineering Blog

We tinker, we build, and we dream up all-new things to help support the world's best community of creators. Lift up the hood and see how it all works.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app