为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Add to home screen (a2hs) button missing

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 robertoaall

more options

The Add to home screen button is not showing up in firefox mobile v87.0.0-rc.1 (Build #2015799099).

For the purpouse of this ticket, I'll be using the example a2hs website at https://mdn.github.io/pwa-examples/a2hs/ https://mdn.github.io/pwa-examples/a2hs/.

When opening the website in Chrome mobile, it has the option to Install the PWA as an application (picture 1), but in firefox there is no such option (picture 2). Also, the official guide suggests that there should be a "home icon with a +", which is not the case for me (picture 3).

The firefox application has permission to add homescreen shortcuts in the system (picture 4).

When connecting to debug via USB, I can see the serviceworker is running and the manifest was recognized (picture 5).

I've also tried reinstalling the mobile browser and removing all addons, to no effect.

I'm running Android 10 on a Poco X3 using MIUI 12.0.7.

I don't know else I may be missing.

best, Roberto.

The Add to home screen button is not showing up in firefox mobile v87.0.0-rc.1 (Build #2015799099). For the purpouse of this ticket, I'll be using the example a2hs website at [https://mdn.github.io/pwa-examples/a2hs/ https://mdn.github.io/pwa-examples/a2hs/] https://mdn.github.io/pwa-examples/a2hs/. When opening the website in Chrome mobile, it has the option to Install the PWA as an application (picture 1), but in firefox there is no such option (picture 2). Also, the [https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen#how_do_you_use_it official guide] suggests that there should be a "home icon with a +", which is not the case for me (picture 3). The firefox application has permission to add homescreen shortcuts in the system (picture 4). When connecting to debug via USB, I can see the serviceworker is running and the manifest was recognized (picture 5). I've also tried reinstalling the mobile browser and removing all addons, to no effect. I'm running Android 10 on a Poco X3 using MIUI 12.0.7. I don't know else I may be missing. best, Roberto.
已附加屏幕截图

由robertoaall于修改

所有回复 (6)

more options

Hi

If you open the Firefox for Android menu and select Install, it will be added to the Android homescreen as an app. I hope that this helps.

more options

Seburo said

Hi If you open the Firefox for Android menu and select Install, it will be added to the Android homescreen as an app. I hope that this helps.

Yes! That's what was supposed to happen, but as you can see in the second screeenshot I've posted, there is no such option.

The first screenshot is from Chrome, just to exemplify what should have happened in firefox.

more options

Maybe it is your version of Android? I'm using the same browser version as you are on Android 7.0, and it works as it is supposed to. I also tried it on my Android 9.0 phone and the install button shows up as well.

Or maybe it is related to some add-on you have?

more options

I'm running android 10 on a Poco X3 (Miui 12.0.7).

I have uninstalled the addon I've had, but still have the same problem.

I've edited the main post to include this information.

由robertoaall于修改

more options

Hi

The install option is in the menu for Firefox for Android. If you select this on a page that can be a PWA, it will install to your desktop.

more options

Seburo said

Hi The install option is in the menu for Firefox for Android. If you select this on a page that can be a PWA, it will install to your desktop.

Hi

I know the install option should be in the menu for Firefox for Android. As you can see in the attached image, it is not. Even though the page (https://mdn.github.io/pwa-examples/a2hs/) is a PWA used as an example in the official documentation about PWAs, the firefox menu doesn't have this entry.