# Use Google Play Instant To Handle Deep Links -- A Real World Scenario

DevFeed: [Use Google Play Instant To Handle Deep Links -- A Real World Scenario](<https://devfeed.tech/articles/use-google-play-instant-to-handle-deep-links-a-real-world-scenario-28873.md>)

Original publisher: [Read original article](<https://medium.com/volvo-cars-engineering/use-google-play-instant-to-handle-deep-links-a-real-world-scenario-c7b6b4db0aad?source=rss----4eed8113139---4>)

Author: Mehdi Satei

Published: 2024-11-07T12:29:53Z

Content type: tutorial

Language: en

Sources: [Volvo Cars Engineering - Medium](<https://devfeed.tech/sources/volvo-cars-engineering-medium.md>)

Topics: [Google Play](<https://devfeed.tech/topics/google-play.md>), [App](<https://devfeed.tech/topics/app.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [account](<https://devfeed.tech/topics/account.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [deep-link-android](<https://devfeed.tech/tags/deep-link-android.md>), [google](<https://devfeed.tech/tags/google.md>), [google-play](<https://devfeed.tech/tags/google-play.md>), [google-play-instant](<https://devfeed.tech/tags/google-play-instant.md>)

## AI overview

This developer article describes the deep-linking and authentication challenges in the Volvo Cars App's co-driving invitation flow. It explains the intended user journey when recipients have the app installed, are signed in, lack an account, or need to install the app from Google Play.

## Source excerpt

Use Google Play Instant To Handle Deep Links -- A Real World ScenarioDiving Deep into Deep Linking with Volvo Cars App Picture this: You've just settled into the driver's seat of your brand-new Volvo car. You swiftly install the Volvo Cars Application, set up an account, and link your car. The experience is exhilarating, and you can't wait to share the same experience and let your partner or your children to co-drive and relish the same thrill. With Volvo Cars App you can do this now! If you're a Volvo car owner, you can now generate a co-drive invitation link, send it over, and once they tap on it, they're all set. From a user's perspective, it sounds dreamy. But, if you switch the lens to that of a developer building this feature, the narrative takes a rather, let's say, 'complex' turn. Tapping on the generated co-drive invitation link is something that we know as deep link. Deep linking is the art of taking a user directly to a particular screen inside the app via a universal URL (a.k.a App Link). It sounds straightforward, but implementing it can give even seasoned developers a run for their money. One significant speed bump in many apps is authentication. Before accessing content, in most cases, a user needs to be authenticated. So, when clicking on the app link, the user needs to have the app installed and be signed in, and only then can the app navigate them directly to the specific content. Now, throw in the unpleasant scenario of the user not having an account, and the plot thickens. The app must intelligently handle the sign-up dance before gracefully resuming the deep link dance. Despite being a bit challenging, when the user taps on a deep link, Volvo Cars App could handle the authentication flow. But at Volvo Cars, we also throw the curveball of "Can we deliver a great user experience for a co-driving scenario, with the generated deep link for the users who don't have our app installed?" If a user taps on a deep link without having the app installed, gui