即时应用程序不会直接启动,首先显示一个屏幕 [英] Instant app won't start directly, shows a screen first

查看:27
本文介绍了即时应用程序不会直接启动,首先显示一个屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功发布了一个链接到我的个人网站的(非常简单的)即时应用程序.

I have successfully published a (very simple) Instant App linked to my personal website.

当我单击网站的链接时,我希望该应用程序直接启动,但是相反,我首先看到一个带有2个按钮的屏幕:打开应用程序"和在浏览器中打开":

When I click on my website's link, I was expecting the app to start directly, but instead, I first see a screen with 2 buttons: "Open app" and "Open in browser":

为什么?

我尝试过的其他即时应用程序不会显示此屏幕,而是直接打开该应用程序(所需的行为).

Other instant apps that I tried do not show this screen and open the app directly (the desired behavior).

推荐答案

我们将此屏幕称为减速带".这是一项安全功能.您正确地注意到它并不总是会触发.但是,作为开发人员,您无法控制它是否显示.从您的角度来看,它的目的是要成为一个黑匣子.

We call this screen the "speed bump". It's a security feature. You're right in noticing that it doesn't always trigger. But there's nothing you, as a developer, can do to control whether it shows. The intention is for it to be a black box from your perspective.

这篇关于即时应用程序不会直接启动,首先显示一个屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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