Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open Google Play Install app dialog similar to Youtube ad cliick

I am looking forward to opening a Google play dialog as you see on YouTube when you click on any app install ads. I already tried the steps from this link to open the play store from my Android app https://developer.android.com/distribute/marketing-tools/linking-to-google-play, but these steps open the play store app instead of in-app dialog like shown in the below screenshot. I already checked StackOverflow and there were a couple of similar questions asked but they are quite older so asking it again.

enter image description here

like image 698
Raj Suvariya Avatar asked Nov 06 '20 05:11

Raj Suvariya


People also ask

How do I open the Play Store menu?

Open your device's settings app . Tap Apps and notifications See all apps. Scroll down and tap Google Play Store .

Where Google Play apps installed?

You can see all the apps you've ever downloaded on your Android phone by opening the "My apps & games" section in your Google Play Store. The apps you've downloaded are divided into two sections: "Installed" (all the apps currently installed on your phone) and "Library" (all the apps that aren't currently installed).

How can I open Play Store in mobile browser?

Open the Play Store in your browserOpen your favorite web browser on a computer and go to play.google.com. If you are logged in to a Google service like Gmail, your Google identity shows up in the top-right corner, and you can skip to the next section of the tutorial.


1 Answers

To all those wondering how is it possible to show this. TLDR you can't without support from Google.

The popup comes when you add extra param enifd with the app link to play store

For ex. intent://details?id=com.aranoah.healthkart.plus&inline=true&enifd=AMO2QMb52SseLfA21upm-hHtBTi4ekj6AaHc14FJPukdGkE3WL5_pWrxfL3m3lSmhAHhXZpLALwiPh6aTUOdtKjgAaWMet8NBtlmJkrfA44-9oau3Lyjud9gvkBQu2goXdqxts7gWvrCky_gBJIa-9RxYio2DHOc0wg5o2PbRbhxcmZtgMpIePs&gclid=Cj0KCQiAsqOMBhDFARIsAFBTN3ejj8e-8jcA0bbPoIQipj3502K_-o-UEO44kIO4iUUHBvHOVPrg4aIaApfJEALw_wcB&referrer=gclid%3DCj0KCQiAsqOMBhDFARIsAFBTN3ejj8e-8jcA0bbPoIQipj3502K_-o-UEO44kIO4iUUHBvHOVPrg4aIaApfJEALw_wcB&gref=EkUKPQoJCICyo4wGEMUBEiwAUFM3d6OPx77yNwDRts-ghCKmPfnTYr_6j5QQ7jiQg7iJRQcG8c5U-uDhohoCl8kQAvD_BwEYgdnLvgMiCBgFIAEwATgH#Intent;scheme=market;package=com.android.vending;end;

This enifd param contains gpId based some configuration in encrypted manner if you add this to applink and then try to fire applink from any of your app then you will see the bottomsheet. But if you remove this param it will again open the play store app.

Though the link is copied from Chrome so I am not aware what exactly is being passed under enifd param. Check with Google if you want to find out.

like image 135
Raj Suvariya Avatar answered Sep 30 '22 08:09

Raj Suvariya