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

Android Instant Apps

Android Instant Apps

Avatar for Sumit Gupta

Sumit Gupta

July 30, 2017

Other Decks in Programming

Transcript

  1. Agenda • What is an instant app? • Why do

    we need one? • Key principles to build an instant app • Demo • Best practices
  2. What is an instant app ? • Native seamless experience

    without installation • App on demand • Discoverable from anywhere
  3. Discoverability • Identify Entry Points • App Links • Url

    Handling • Domain Ownership • Auto Verification Of Domain • Linking
  4. Restricted Features • Launched through only activities • Push notifications

    • External storage access • Change device settings • Services, Broadcast Receivers, Content Providers
  5. Performance Slim down the app • Remove unused code/resources •

    Remove gradle dependencies Slice binary • Modularize the code • Load the module only when required • Module size<=4 MB
  6. Prerequisites • Android Studio 3.0 + • Instant App Development

    SDK • Nexus 5X, Nexus 6P, Pixel, Pixel XL, Galaxy S7 running Android 6.0 or higher
  7. Best Practices • One App • Consistent structure • Multiple

    entry points • Decreasing friction • Installing the app • Maintain user state • Share url through app