ANDROID INSTANT APP
Andrei Boeru
16 April 2018
Android GDG Meetup @ Holidu, Munich
ANDREI BOERU
software engineer @ Holidu
developed first versions of the Android apps for:
TALKING ABOUT
• what is an instant app and why should we care
• how to use an instant app
• real world use case: instant app @ Holidu: biz insight
• limitations apply, or how are instant apps different from
installed apps
• converting an installable app to an instant app
• how to shrink the app
–Carrie Fisher
“Instant gratification takes too long.”
INTRODUCING INSTANT APPS
• instant apps first announced at Google I/O 2016
for a limited set of companies
icon list from https://developer.android.com
INTRODUCING INSTANT APPS
• development open for all developers starting with Google I/O ’17
• March 2018: special Google Play category for games
INSTANT GAMES
• 19 March 2018: Google Play category “Instant Gameplay: Try now
install later”
• apk size limited to 10MB
HOLIDU BIZ INSIGHT
HOLIDU BIZ INSIGHT
HOLIDU BIZ INSIGHT:
SEASONALITY
HOLIDU BIZ INSIGHT:
SEASONALITY
HOLIDU BIZ INSIGHT:
SEASONALITY
REMOVING UNUSED APPS
THETEST NOW BUTTON
THE INSTANT APP BANNER
GOOGLE SEARCH RESULTS
http://newsredefined123.blogspot.com/2017/08/
GOOGLE SEARCH RESULTS
http://newsredefined123.blogspot.com/2017/08/
OPENVIA LINK
INSTALL POPUP
LIMITATIONS APPLY
apk size: maximum 4MB
app permissions
BILLING
ACCESS_COARSE_LOCATION
ACCESS_FINE_LOCATION
ACCESS_NETWORK_STATE
CAMERA
INSTANT_APP_FOREGROUND_SERVICE only in Android 8.0.
INTERNET
READ_PHONE_NUMBERS. (API level 26).
RECORD_AUDIO
VIBRATE
push notifications are not supported
however a notification can be displayed by the instant app
TIPS: HOWTO SHRINK
• use vector drawables icons:Android Studio builtin svg
convertor
• use proguard to remove unused code from the compiled
app
• use lint to find and remove unused resources
• where vector drawables fail: use the webp format - support
for webp with transparency starts from Android 18 (4.3).

for the Holidu app converting all the png files to webp
brought a 22% size improvement
APP LINKS
APP LINKS
APP STRUCTURE
APP STRUCTURE
https://developer.android.com/topic/instant-apps/getting-started/structure.html
RELEASING AN INSTANT APP
RELEASING AN INSTANT APP
QUESTIONS

Holidu Android Instant App