如何打开类似于 Youtube 广告点击的 Google Play 安装应用程序对话框 [英] How to open Google Play Install app dialog similar to Youtube ad cliick

查看:15
本文介绍了如何打开类似于 Youtube 广告点击的 Google Play 安装应用程序对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待在您点击任何应用安装广告时打开您在 YouTube 上看到的 Google Play 对话框.我已经尝试了此链接中的步骤以从我的 Android 应用程序打开 Play 商店

解决方案

致所有想知道如何展示这一点的人.TLDR 离不开 Google 的支持.

当您添加额外的参数 enifd 并带有应用程序链接以播放商店时,弹出窗口

例如.?意图://细节ID = com.aranoah.healthkart.plus&安培;直列=真&安培;的 enifd = AMO2QMb52SseLfA21upm-hHtBTi4ekj6AaHc14FJ​​PukdGkE3WL5_pWrxfL3m3lSmhAHhXZpLALwiPh6aTUOdtKjgAaWMet8NBtlmJkrfA44-9oau3Lyjud9gvkBQu2goXdqxts7gWvrCky_gBJIa-9RxYio2DHOc0wg5o2PbRbhxcmZtgMpIePs&安培; GCLID = Cj0KCQiAsqOMBhDFARIsAFBTN3ejj8e-8jcA0bbPoIQipj3502K_邻UEO44kIO4iUUHBvHOVPrg4aIaApfJEALw_wcB&安培;引荐= GCLID%3DCj0KCQiAsqOMBhDFARIsAFBTN3ejj8e-8jcA0bbPoIQipj3502K_-o-UEO44kIO4iUUHBvHOVPrg4aIaApfJEALw_wcB&安培;格列夫= EkUKPQoJCICyo4wGEMUBEiwAUFM3d6OPx77yNwDRts-ghCKmPfnTYr_6j5QQ7jiQg7iJRQcG8c5U-uDhohoCl8kQAvD_BwEYgdnLvgMiCBgFIAEwATgH #Intent;方案=市场;包= com.android.vending; END;

此 enifd 参数包含基于 gpId 的一些加密方式的配置,如果您将其添加到 applink,然后尝试从您的任何应用程序中触发 applink,那么您将看到底页.但是,如果您删除此参数,它将再次打开 Play 商店应用程序.

虽然链接是从 Chrome 复制的,所以我不知道 enifd 参数下到底传递了什么.如果您想了解,请与 Google 联系.

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.

解决方案

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.

这篇关于如何打开类似于 Youtube 广告点击的 Google Play 安装应用程序对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆