简体   繁体   English

桌面上的 Ionic PWA 快捷方式

[英]Ionic PWA shortcut on desktop

I'm developing a PWA with Ionic Framework 6.12.2, and I'm wanting to create a shortcut on my computer's desktop (windows and/or mac), I deployed it on firebase, and when I access it on my phone (android) it asks me if I want to create a shortcut and it's like an app even including a splash screen.我正在使用 Ionic Framework 6.12.2 开发 PWA,我想在我的计算机桌面(windows 和/或 mac)上创建一个快捷方式,我将它部署在 firebase 上,当我在我的手机(android ) 它询问我是否要创建快捷方式,它就像一个应用程序,甚至包括启动屏幕。 Is also that possible on windows and mac?在 windows 和 mac 上也可以吗?

In Chrome, click the 3 dots in the top right and then you should have an option to install your app.在 Chrome 中,单击右上角的 3 个点,然后您应该可以选择安装您的应用程序。 If you don't, you probably have mis-configured your service worker.如果你不这样做,你可能错误地配置了你的服务工作者。

Well, Luves2spoonge gave me an idea, but it was not the exact solution, so I'm going to answer it.好吧,Luves2spoone 给了我一个想法,但这不是确切的解决方案,所以我要回答它。

I don't know why Twitter and other PWAs are having the option to install them directly but mine was requiring first to go to the menu (the three dots in the top right) and then select "more options" > create shortcut > check the option "open as window" and create我不知道为什么 Twitter 和其他 PWA 可以选择直接安装它们,但我的需要先到 go 到菜单(右上角的三个点),然后 Z99938282F0401618599Z41E1 快捷方式 > EFCF 选项“>选项“作为窗口打开”并创建

https://www.guidingtech.com/install-uninstall-pwas-chrome/

在此处输入图像描述

this was the blog that helped me: https://www.guidingtech.com/install-uninstall-pwas-chrome/这是帮助我的博客: https://www.guidingtech.com/install-uninstall-pwas-chrome/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM