Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Instant App

Android Instant App

Understand & Developing Android Instant App

akinsete

June 17, 2017
Tweet

More Decks by akinsete

Other Decks in Programming

Transcript

  1. Extended Android Instant Apps • Are android apps that run

    without installation. • Run android app seamlessly as loading a webpage • Provide users the availability to rich native experience at the tap of a URL
  2. Extended Discoverability • Android App Links Domain Ownership URL Handling

    for activity Path specification Automatic Verification • Available across the instant and installable apps
  3. Extended Security & Privacy • Runtime Permissions API • Can

    access user resettable Ad ID • Limited Device Specific Information (eg IMEI mac address) • Can’t listen to system broadcast
  4. Extended Performance • Trim the fat Strip out unused code

    and resources Minify with proguard • Slice the binary Modules for each endpoint Load only what is need
  5. Extended • Development Tools • New Construct • Project Structure

    • Publishing Instant Apps Developer Experience
  6. Extended Development Tools Android Studio 3.0 with Instant app support

    Android Instant SDK in SDK Manager App Link Assistant for URL handling Emulator Support for local development
  7. Extended New Construct • Similar to a library module with

    code, resources and a manifest • Builds a feature (.apk) for the instant app • Builds as a library (.aar) for the installable app Feature Module
  8. Extended Project Structure Before After Feature 1 Feature 2 Feature

    3 Installable APK Feature module 1 Feature module 2 Feature module 3 Base feature module modularization Installable APK Instant App APKs
  9. Extended 1. Development Tools 2. New Construct 3. Project Structure

    4. Publishing Summary Developer Experience
  10. Extended Let’s get our hands dirty. • Instant app project

    structure explanation • How to modularize your existing project to support instant app • How to move structure your project from start