progressive-web-apps

How to separate PWA session and cookie with a standalone browser? ( PWA as private tab )

拟墨画扇 提交于 2020-03-22 09:14:41
问题 I'm working on a PWA in conjunction with an enterprise application server. The application server serves a responsive web view for a standalone browser, and customize the view on PWA with the help of PWA cookie which is set on PWA start url for the first time. The problem is that the session between PWA and a standalone browser ( e.g Chrome on Android ) is being shared and once the user has installed the PWA, the consequent visits to the site with the standalone browser will show the PWA

Progressive web app : Start at android device boot

老子叫甜甜 提交于 2020-03-22 07:20:53
问题 At work, we are switching from native app to progressive web app. The last feature that we got before and not with the PWA is that before our application opened automatically at startup of device. It seems that it not possible (am i wrong ?) with PWA. We are looking to installing an android native application that could launch PWA at startup. But it seems that we need PWA package name or other to launch application. Did you know if PWA have a package name or other ? Or maybe if we speak more

Progressive web app : Start at android device boot

巧了我就是萌 提交于 2020-03-22 07:18:58
问题 At work, we are switching from native app to progressive web app. The last feature that we got before and not with the PWA is that before our application opened automatically at startup of device. It seems that it not possible (am i wrong ?) with PWA. We are looking to installing an android native application that could launch PWA at startup. But it seems that we need PWA package name or other to launch application. Did you know if PWA have a package name or other ? Or maybe if we speak more

manifest.json vs manifest.webmanifest

不打扰是莪最后的温柔 提交于 2020-03-21 11:12:28
问题 I'm developing an application using mongodb, Node.JS and PWA. In the first step of developing I don't know what is the difference between manifest.json and manifest.webmanifest . 回答1: Actually there are no big difference rather than naming. So just use which you prefer: "/manifest.json" or href="/manifest.webmanifest" just don't forget that MIME type has to be: application/manifest+json in both cases. <link rel="manifest" href="/manifest.json"> <link rel="manifest" href="/manifest.webmanifest

Can PWA access contacts, gps or use the phone camera?

我的梦境 提交于 2020-03-20 01:58:42
问题 Can PWA access contacts, gps or use the phone camera? Is this possible in any system (ios, android) ? Is there any plan in development to implement any of these features ? 回答1: There are some restrictions that cannot be overcome with a PWA: - you cannot access the contacts list on a phone. - On the other hand, you can take photos and use GPS location. On whatwebcando.today web site you can have a list of APIs available via browser compared to native apps. If you click on one feature, you can

How to Remove Chrome Logo from PWA App Home Screen Link (Android O Preview)

帅比萌擦擦* 提交于 2020-03-17 06:45:28
问题 I just updated to Android O Preview and installed a few PWAs. On the home screen a miniature Chrome logo is placed by the icon. This wasn't there before the OS update. Ideally, I would like the PWA to look like a regular app on the home screen considering it has service workers enabled. Is it possible to remove this with some settings in the app.yaml or manifest.json? 回答1: Above answer is not accurate except for the part that Chrome had the issue of adding Chrome badge to App icon, which is

Progressive Web App on a hosted UWP app does not work with HTTPS (Self-Signed)

一个人想着一个人 提交于 2020-03-05 03:03:54
问题 A PWA Angular App hosted on IIS (HTTPS binding with Self-Signed cert) which is being accessed by an UWP app (Hosted UWP: just a UWP shell pointing to the PWA App). When the package.appxmanifest configurations such as StartPage and Content URIs are pointing to the PWA with HTTP scheme it works well (Except of course the Service Worker registration throws a an error since HTTPS is a requirement). However, when I update the URLs to point to HTTPS the UWP shows only a blank white screen with no

When need to develop Progressive Web App (PWA)?

旧街凉风 提交于 2020-03-05 01:38:46
问题 I'm developing an Angular 7 app for windows users, and I want to know: Does PWA always improve performance? Does it target only specific platforms? 回答1: Here is the answer to both of your questions regarding Progressive Web Applications (PWA): 1) Does it always improve performance? Yes, and it is all thanks to the usage of Service Workers. Do note that to enjoy the benefits of PWAs and service workers, it must be served via HTTPS. As stated on the introduction page to PWAs, A service worker,

Angular : service worker configuration

一个人想着一个人 提交于 2020-02-28 07:58:11
问题 I'm trying to add pwa capabilities to a website running on angular 8. I followed a lot of tutorials, official and unofficial ones and I don't understand what I'm doing wrong. ngsw-config.json is like this : { "$schema": "./node_modules/@angular/service-worker/config/schema.json", "index": "/index.html", "assetGroups": [ { "name": "app", "installMode": "prefetch", "resources": { "files": [ "/favicon.ico", "/index.html", "/manifest.webmanifest", "/*.css", "/*.js", "/*.min.js" ], "urls": [

How to use workbox-webpack-plugin together with Nuxt PWA

那年仲夏 提交于 2020-02-25 04:09:26
问题 I'm currently on Nuxt with PWA Plugin, including workbox module. However if I'm not mistaken this plugin doesn't allow to add the assets generated by webpack to precaching. Is it possible to use workbox-webpack-plugin for only generating the precaching part of the sw.js file? If so, how would it be done? There is some documentation on https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin, however I'm not sure how to apply this to the Nuxt PWA context. 回答1: Turns out