BT

Your opinion matters! Please fill in the InfoQ Survey!

Google Releases Android Instant Apps SDK 1.1

| by Sergio De Simone Follow 5 Followers on Oct 14, 2017. Estimated reading time: 1 minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

A few months after its introduction at Google I/O 2017, the Android Instant Apps SDK reaches version 1.1, bringing configuration APKs for binary size optimization and a new API to keep user context when transitioning to an installed app from an instant app.

As InfoQ reported, one key feature of instant apps is their reduced size. To help developers reach the goal of keeping their instant app modules below the 4MB threshold, Google is making it possible to isolate device-specific resources and native libraries into independent APKs. Those independent APKs, called configuration APKs, are loaded by the SDK only whey they are relevant to the user’s device. Currently, three kinds of configuration APKs are supported, for display density, CPU architecture (ABI), and language. According to Google, this should help reduce binary size by 10%.

Another feature that both developers and users will welcome is persistent user context support on older Android versions. With persistent user context, an installed app can access the internal storage of its instant counterpart, thus allowing users to preserve any information they have created using the latter when installing the full app. Installed apps can call InstantAppsClient.getInstantAppData() to get a zip file of the instant app’s internal storage. Supported Android versions now include Lollipop, Marshmallow, and Nougat, thanks to Google Play Services.

Instant Apps is Google’s take on deep linking, allowing to split up a regular Android application into modules and only load them when the user chooses a specific action in another application. All of this can work without having to install the application and aims to provide a seamless transition between apps.

You can update to version 1.1 of Android Instant Apps SDK by using the SDK Manager in Android Studio.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT